what are those files VS2005 creates?

When i compile my application, there are 3 files it creates:

<projectname>.exe
<projectname>.vshost.exe
<projectname>.pdb

i know that <projectname>.exe is the executable file, but are the other two's

Which one of those 2 should i include when i want somebody else to debug my program
What are the basic ideas of the other 2 files

please let me know :)



Answer this question

what are those files VS2005 creates?

  • byang

    The other two files are related to debugging, but only the .pdb is necessary if you want to give your application to other people to debug.  The .pdb file contains the 'debugging symbols' for your applicaiton.  Having it will allow the debugger to report more accurate callstacks and make stepping much more natural. 

    The .vshost.exe file is a stub executable that is used when you load and debug your project.  It is used for debugging in different security zones, a faster F5, and design time expression evaluation.  You can enable or disable using this through project/properties.  You don't need to give this file to others when you want them to be able to debug your application.

    Hope that helps!
    Anson Horton
    Visual C# IDE PM



  • AdrianoBrazao

    thanks man, that really helped me out :)


  • what are those files VS2005 creates?