I have a C# project and an App.Config file in this project. When i build the source code, a file (AssemblyName.exe.config) is created in the output directory for the application configuration but i want the name of this file App.Config. How can i do that?
Share
You can use a post-build event to rename the file.
However, realize that the application settings architecture which uses the file will expect the name to be
AssemblyName.exe.config. If you rename the file, the normal application settings architecture will break.