When I compile an application with VS2008 I sometimes end up with 2 identical config files:
- *.exe.config
- *.vshost.exe.config
What is the latter one for?
When I compile an application with VS2008 I sometimes end up with 2 identical config files:
What is the latter one for?
When debugging inside VS your application will be called [appname].vshost.exe and so the .vshost.exe.config file is where the .net runtime will look for the program's config.
Here's a blog post that talks about the vshost process and its purpose.
Here is a post on What is the vshost.exe file? What is its purpose and how you can disable the creation of that file.
http://dotnetrobert.com/?q=node/25
Hope you find it useful.