What is the appname.vchost.exe file
Every time I build my .NET application with Visual Studio, I got a appname.vchost.exe file along with my appname.exe file. This file doesn't exist when I build with command line commands. So,
- What is this *.vchost.exe file for?
- Could someone explain its working mechanism in detail?
Thank开发者_StackOverflow中文版s.
I assume you're talking about the VS hosting process. It is used for
- Improved Debugging Performance
- Partial Trust Debugging
- Design-Time Expression Evaluation
You can turn it off in the project settings. If you want to change the project settings template once and for all please see this question.
Its a version of the application used by visual studio to allow you to debug your application, if you clean your solution and build in release mode it will not be there.
Cheers
精彩评论