settingsprovider

How to change the predefined userconfig directory of my .NET application?

亡梦爱人 提交于 2020-05-17 05:04:01
问题 Currentlly the user-settings of my application are stored in this default directory: C:\Users\{User Name}\AppData\Roaming\{Company Name}\{Assembly Name}.vshos_Url_{Hash}\{Assembly Version} I'm aware of the meaning of the default Microsoft naming rules, my question is: How can I change that defaut folder at execution time or by modifying the appconfig file?. My intention is only be able to handle the directory on which the user-settings of my application will be saved, for example I would like

How to change the predefined userconfig directory of my .NET application?

孤者浪人 提交于 2020-05-17 05:02:52
问题 Currentlly the user-settings of my application are stored in this default directory: C:\Users\{User Name}\AppData\Roaming\{Company Name}\{Assembly Name}.vshos_Url_{Hash}\{Assembly Version} I'm aware of the meaning of the default Microsoft naming rules, my question is: How can I change that defaut folder at execution time or by modifying the appconfig file?. My intention is only be able to handle the directory on which the user-settings of my application will be saved, for example I would like