HiveBrain v1.2.0
Get Started
← Back to all entries
patterncsharpCritical

What is the purpose of the vshost.exe file?

Submitted by: @import:stackoverflow-api··
0
Viewed 0 times
thepurposefilevshostwhatexe

Problem

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)

  • HelloWorld.vshost.exe



  • HelloWorld.pdb



  • HelloWorld.vshost.exe.manifest



What purpose do these files serve?

Solution

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.

Context

Stack Overflow Q#774187, score: 421

Revisions (0)

No revisions yet.