Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the purpose of the vshost.exe file?

When I create and compile a "Hello, World!" application in C#, I get three files in the Debug folder apart from the main exe (e.g. HelloWorld.exe)

  1. HelloWorld.vshost.exe
  2. HelloWorld.pdb
  3. HelloWorld.vshost.exe.manifest

What purpose do these files serve?

like image 435
Milen Avatar asked Apr 21 '09 19:04

Milen


People also ask

What is the use of Vshost exe?

The genuine vshost.exe file is a software component of Visual Studio by Microsoft. This hosting process is a Visual Studio feature to improve debugging performance, enable partial trust debugging, and enable design time expression evaluation.

What is Vshost exe config?

vshost.exe. config file is where the . net runtime will look for the program's config.

What is Vhost exe?

This is the "hosting process". It is created whenever you build a project in the Visual Studio IDE. Its purpose is to provide support for improved F5 performance, partial trust debugging, and design time expression evaluation.

What is the Visual Studio hosting process?

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.


1 Answers

The vshost.exe feature was introduced with Visual Studio 2005 (to answer your comment).

The purpose of it is mostly to make debugging launch quicker - basically there's already a process with the framework running, just ready to load your application as soon as you want it to.

See this MSDN article and this blog post for more information.

like image 162
Jon Skeet Avatar answered Oct 12 '22 08:10

Jon Skeet