Visual Studio 2005 and later versions will compile x.vshost.exe with the same name
When debugging and running, the process starts first
Become a hosting process, which is translated as a host process
This process is mainly used for debugging, which can improve the execution efficiency of debugging, and perform expression operations and partial-trust debugging during design.
Improve debugging efficiency:
The topic (vshost.exe) creates an application domain associated with the current application debugger. to execute this operation, you will obviously start debugging to the application.ProgramTime Between startup, but the host process can use this application domain to improve debugging efficiency and save the status of the application domain and debugger during application running.
Expression operation during design
Now you can do this in the immediate window without running the application.CodeTest.
Debug partial trust
Applications can be specified as a partial trustapplication on the project designer Security Settings page. These applications are specialized in the application domain, and vshost.exe is used to complete the transformation.
Possible BUG: The program .vshost.exe: managed has exited with code-1073741819 (0xc0000005 ).
Solution: Make the Application Path contain less than 128 characters, and the Application name contains less than 10 characters.
This process may impede the use of some special APIs. Therefore, you can cancel the process if necessary.
You can enable or disable it through project → properties → debug tab → enable the Visual Studio hosting process checkbox.
See: http://msdn.microsoft.com/en-us/library/ms185331 (vs.80). aspx