Write to app.config in .Net 3.5?

7.8k Views Asked by At

I need to be able to write to the app.config file in my .Net 3.5 Windows app to store some system settings?

I can read from the file but I can't write to it??

Everything I have found is for 2.0 and doesn't look to be the same for 3.5.

1

There are 1 best solutions below

0
Mitch Wheat On BEST ANSWER

.NET 2.0 is part of .NET 3.5

So just use what you found for .NET 2.0, or have a look at: Read/Write App.config with .NET 2.0

Also see SO answer: Update app.config system.net setting at runtime