Hannes Pavelka
It isn't rocket science. Well, unless of course you're NASA

What is the vshost.exe doing ?

Friday, August 11, 2006 2:59 AM

If you are developing with Visual Studio 2005 you probably have seen the *.vshost.exe files inside of your bin folder or you saw the process running while debugging. The vshost.exe file is coming from Visual Studio and serves a very good purpose. The vshost.exe is a new Visual Studio 2005 feature and is actually a hosting process.

It serves mainly three purposes:

  • Improve Performance
    The hosting process improves performance by handling creation of the AppDomain and initalization of the debugger.
  • Allow partial trust debugging
    Simulating a partial trust environment within Visual Studio requires special setup of the AppDomain. Vhost.exe takes care of this.
  • Allow design time expression evaluation.
    Supports the Immediate Window.

The *.vshost.exe files are exclusively used by the VS 2005 IDE, they serve no other purpose.

If you want  to disable the generation of the vshost files you can do so under your projects settings.

In general, when the hosting process is disabled the time needed to begin debugging increases.


Feedback

# re: What is the vshost.exe doing ?

thanks dude !! its nice 6/23/2008 12:52 AM | Akash Varshney

# re: What is the vshost.exe doing ?

Great find. 11/6/2008 5:55 AM | Adam Nofsinger

# re: What is the vshost.exe doing ?

Here is another post on this topic.

http://dotnetrobert.com/?q=node/25
3/6/2010 5:36 PM | elifeinchrist

# re: What is the vshost.exe doing ?

Great information 3/15/2010 4:02 AM | Sandeep Kumar Narware

Post a comment