Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vhost.exe. Why is that needed? [duplicate]

Tags:

c#

.net

Possible Duplicate:
What is the purpose of vshost.exe file?

When a .NET application is built, a second exe with name applicationname.vhost.exe is created along with the actual application. Or its there along with the actual application when I opened the bin folder.

The applicationname.vhost.exe seems to do nothing when I tried to open it.

What is its purpose?

like image 378
Venkatesh Kumar Avatar asked Aug 30 '12 08:08

Venkatesh Kumar


People also ask

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 use of Vshost EXE?

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.

What is Vshost EXE config?

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.


1 Answers

The hosting process is a feature in Visual Studio that improves debugging performance, enables partial trust debugging, and enables design time expression evaluation. The hosting process files contain vshost in the file name and are placed in the output folder of your project.

Hosting Process (vshost.exe)

like image 153
Gerald Versluis Avatar answered Sep 26 '22 07:09

Gerald Versluis