Answer the question
In order to leave comments, you need to log in
External configurations of the appSettings section?
Hello.
There is an asp.net mvc application that has an external file file="CommonSettings.config" specified in the web.config for the appSettings section. This file is in a separate library and added as a link to the project with the web application (the properties BuildAction="Content" and Copy to Output Directory="Copy always" are set on the link).
If you run the application in debug, then CommonSettings.config is copied to the bin\Debug folder, but it is not in the root folder of the application (where Web.config is located).
How can I make this file copied to the root of the application?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question