Reputation: 6756
My solution has two exe apps inside. Console application (Console.exe
) and wpf application (MyUI.exe
). Wpf application is a startup project, and console one is a small installation tool. Both have app.config file which contains db info. I have problem with this config file after I build the solution. In bin folder I have my wpf app and config file with the same name, e.g.:
MyUI.exe and MyUI.exe.config.
But there is no config file for console application. Is there any setting I should set to make it right?
When I set build action to content and copy to output... to Copy always then I have "App.config"
file in bin directory, but there is no "Console.exe.config"
.
Upvotes: 1
Views: 6240
Reputation: 37172
There is no such thing as a solution output folder - each project has it's own output folder, in which the App.config will be placed (after it's renamed to [exe_name].config
).
Upvotes: 4