When I compile an application with VS2008 I sometimes end up with 2 identical config files:
What is the latter one for?
The vshost.exe. config file is the file where . net CLR will look for the config information of the program. If our code needs to run the application, we could uncheck "Enable the Visual Studio hosting process" checkbox to disable it.
the vshost.exe. config file changes when your run the vshost.exe file. Whenever you are running your application in debug mode from visual studio the vshost.exe is executed that is the reason why the vshost.exe. config file is changing when your code to modify the config file was run.
config file. The WebSupportServer.exe. config file is used to configure elements such as the user names, navigation tree, and the search stack. This file is typically installed in the c:\Program Files\Stellent\WSS .
The Visual Studio hosting process improves debugger performance and enables new debugger features, such as partial-trust debugging and design-time expression evaluation. You can disable the hosting process if you need to.
Here's a blog post that talks about the vshost process and its purpose.
http://blogs.msdn.com/dtemp/archive/2004/08/17/215764.aspx
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With