Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

user.config not generated in local app data

For a c sharp WPF application. The user.config file I would expect to be generated in : \Users\username\AppData\Local\AssemblyCompany\AssemblyProduct\Assemblyproduct.exe_Url_asdf2345sf\version\user.config.

But for some reason no such file is generated when running the application from visual studio 2012(the application is build under x86 platform and target framework .NET Framework 4). Does anyone know why this might happen?

like image 210
Ungureanu Adrian Avatar asked May 13 '26 23:05

Ungureanu Adrian


1 Answers

Actually its under \Users\username\AppData\Local\AssemblyCompany\Assemblyproduct.exe_Url_asdf2345sf\version\user.config, there is no \AssemblyProduct\.

However it only gets generated after your application performs a Settings.Default.Save(); otherwise defaults are picked up from your normal Settings.Default

like image 75
AlSki Avatar answered May 15 '26 11:05

AlSki



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!