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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
.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