Objects in this mirror are closer to Microsoft Technologies. DNM objective is to help users on Microsoft technologies by providing Articles, snippets, Interview Questions.

20 December 2007

VShost.exe in .NET:

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

Actually when you open the project in vs. express it copies this file vshost.exe from Program Files\Microsoft Visual Studio 8\Common7\IDE and renames it to yourassemblyhost.vshost.exe
The hosting process is a feature in Visual Studio 2005 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. For more information, see Debugging and the Hosting Process.

Improved Debugging Performance

The hosting process creates an application domain and associates the debugger with the application. Performing these tasks can introduce a noticeable delay between the time debugging is started and the time the application begins running. The hosting process helps increase performance by creating the application domain and associating the debugger in the background, and saving the application domain and debugger state between runs of the application. For more information on application domains, see Application Domains.

Partial Trust Debugging
An application can be specified as a partial trust application in the Security page of the Project Designer. Debugging a partial trust application requires special initialization of the application domain. This initialization is handled by the hosting process.

Design-Time Expression Evaluation
Design-time expression evaluation enables you to test code from the Immediate window without having to run the application. The hosting process executes this code during design time expression evaluation. For more information, see Immediate Window.
NOTE: Hosting process files (.vshost.exe) are for use by Visual Studio 2005 and should not be run directly or deployed with your application.

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.
Note:Hosting process files (.vshost.exe) are for use by Visual Studio 2005 and should not be run directly or deployed with your application..

7 Comments:

Anonymous said...

I can't help but believe that the market for products with photos imprinted on them, now made accessible by the Internet, represents a truly enormous opportunity. It is hard to imagine how athletes can do such entertaining and funny facial expressions, but apparently the desire to win is more important than image. simply keep in mind few websites that may lead you to fun and smiles on face.

my website; www.riofia.com

Anonymous said...

Howdy I am so delighted I found your web site, I really found you
by error, while I was searching on Bing for something else, Anyhow I am here now and would just like to say thanks a lot for a
marvelous post and a all round thrilling blog (I also love the theme/design),
I don't have time to go through it all at the moment but I have book-marked it and also added in your RSS feeds, so when I have time I will be back to read much more, Please do keep up the fantastic work.

My web blog www.biotechnologyreview.net

Anonymous said...

Well, as we know world is changing day by day and its every single move in politics, business or even entertainment world affects our lives a lot.

I also have to wonder if the evening news shows are more interested in ratings
or in reporting the real news. They can also update news on their
site as and when the event occurs while the newspapers have
to wait until the next morning.

Have a look at my webpage - mouse click the up coming website page

Anonymous said...

Helping optimistic people excel - in 7 areas of life
is her mission. ' The picture is just as worrying for youngsters - by 2010, it's predicted 22 per cent
of girls and 19 per cent of boys between the ages of
two and 15 will be obese, with girls under 11 at particular risk.
The decisive factor is that men would want to
show themselves as hot and rock solid before the fashionable ladies as ever.


Visit my web site; http://fitnesstipsonly.blogspot.de/2012/01/tips-to-help-you-improve-your-fitness.html

Anonymous said...

Itís hard to come by experienced people in this particular subject, however,
you seem like you know what youíre talking about! Thanks

Here is my page; 24-7press.com

Anonymous said...

Excellent post! We will be linking to this great article on our
website. Keep up the good writing.

Review my web page; Angry Birds Online Spielen

Anonymous said...

I blog quite often and I genuinely appreciate your information.
This great article has really peaked my interest.
I am going to take a note of your blog and keep checking for new information about once per week.
I subscribed to your Feed as well.

my blog post; Angry Birds Online Spielen

Post a Comment