Go to the properties of the web.config and change Copy to Output Directory
to Do not copy
When I publish my wcf service, why do I see duplicate web configs?
-
11-10-2022 - |
Question
After I publish my wcf service the root folder contains a web config, a svc, and a bin folder. In the bin folder, there is another web config. What is the one in the bin folder affecting? is it safe to delete it? How can I stop it from being published there?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow