![]() ![]() If you change a setting through the VS settings editor, it will update both app.config and Settings.cs. NET configuration manager looks for when it retrieves settings at runtime. ![]() if your executable is named foo.exe, the file will be named ), which is the name the. It also builds the Settings.cs file that provides the static accessors to the individual settings.Īt compile time, VS will (by default you can change this) copy the app.config to the build directory, changing its name to match the executable (e.g. When you add settings to a project, VS creates a file named app.config in your project directory and stores the settings in that file. Assuming that you're talking about desktop and not web applications:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |