Vshosts folder created after each F5 run

106 views Asked by At

Every time I run the app it creates a vshosts folder in the bin\debug folder in the following format:

 [appname].vshost_[hh-mm-ss]

for example:

 mCommAttempt.vshost_16-33-57`

The folder is always empty and ofcourse the regular vshost exe file is in bin\debug as well. I'm using VS 2008 with C#.

What is this, why is this happening?

1

There are 1 answers

1
Jay Zhu On

its name suggests that the folder is used for the vshost.exe. Probably used for storing temporary files at each run for the vshost.exe

vshost.exe is the VS Debug Host Process. The Visual Studio uses it to:

  1. improve debug performance
  2. partial trust debugging
  3. expression evaluation at design time.

Take a look at this MSDN page for detailed information.