My application is distributed via ClickOnce. When I run it via mouse double click, user.config file is placed in: C:\Users\[CurrentUser]\AppData\Local\Apps\2.0\Data\P0WQRYN8.PBV\4321W00T.92K\my..app_eb3f5973611fd9b4_000c.0002_56b6f2889f1bcbd8\Data\1.1.4437.29060\user.config
but when it application starts via Process.Start(Application.ResourceAssembly.Location);
, user.config file is placed in:
C:\Users\[CurrentUser]\AppData\Local\\MyApp.exe_Url_wrn00nujc5xzzcvuijpa4djtekw1ss32\1.1.4437.29060\user.config
How can I avoid this behavior when I run application via start process?