Search code examples
c#appdatauser.config

How do I change user.config settings appdata folder?


I'm wondering how I can change the folder of my user.config stored settings folder from the name of the application to the name of the company. For example I want to change %appdata%\AppName\AppName.exe_StrongName_ to %appdata%\CompanyName\AppName.exe_StrongName_. Is there anyway I'm able to do that???

I have not tried anything at all because I knew that nothing would've worked for me. So how am I able to do that?


Solution

  • This WHOLE time I realized I had to enter a company name in the Assembly Information in the Application Tab that’s in the Project Properties window… Wow I’ve asked this question for nothing. 🤦‍♂️ Well hey atleast some kid will know why their settings saving to %AppData%/MyApp folder and not %AppData%/CompanyName. 🤷‍♂️