-1

When I compile a project in VB i get the following files:

<ProjectName>.exe
<ProjectName>.exe.config
<ProjectName>.pdb
<ProjectName>.vshost.exe
<ProjectName>.vshost.exe.config
<ProjectName>.vshost.exe.manifest

A quick search of them all gives info about them holding information of debugdata and such. But how do they help me? Do you guys ever use these files?

Let's say I'll make a program and send it away to a friend, what is recommended to send? Just the .exe file or something more?

leppie
  • 115,091
  • 17
  • 196
  • 297
Dave
  • 253
  • 6
  • 14
  • `.exe` and `.exe.config` are all that's necessary to deploy (plus any referenced DLLs). If you build in Release mode the other files should go away. The rest are used by Visual Studio when debugging. – D Stanley Aug 22 '14 at 12:58
  • Depends on whether you want them to edit the source or if you just want them to use the software. As a slight aside, I'm not sure how on topic this is for here, so this question may be closed. – Yann Aug 22 '14 at 12:59
  • 2
    PDB: see http://stackoverflow.com/questions/11202083/whats-the-pdb-file/ – ClickRick Aug 22 '14 at 13:00
  • 2
    VSHost files: see http://stackoverflow.com/questions/774187/what-is-the-purpose-of-vshost-exe-file – ClickRick Aug 22 '14 at 13:01
  • Why are people downvoting? What's wrong with my question? – Dave Aug 22 '14 at 13:59

2 Answers2

2

Your project output (here the exe, but could be a DLL if the project type is a library for exemple) and the config files are needed to use the program, plus any dependency you could use in your project (external libraries for example)

The pdb and vshost files are used by your programs for debug, not directly by yourself. And they are only generated in the debug configuration (edit: can also be generated in release, depending on your configuration).

More SO questions about those files: see ClickRick links in comments & other links:

About PDB:

About VSHOST files:

Community
  • 1
  • 1
Nicolas R
  • 13,812
  • 2
  • 28
  • 57
  • In fact all answers are providing a part of the global answer. – Nicolas R Aug 22 '14 at 13:17
  • Yeah, I saw. But I can only accept one I'm afraid. Is that why people were downvoting it? – Dave Aug 22 '14 at 13:57
  • I don't know, maybe the downvotes are because it's not a real 'development' question – Nicolas R Aug 22 '14 at 13:58
  • 1
    @DavidLarsson people are down voting your question because with only a few clicks you could find the same questions (tons of them) already answered. – Hoh Aug 22 '14 at 14:00
  • @NicolasR Yeah, I guess. To me this is just as much development as the actual coding - but yeah. I see your point. Anyway, thanks for your time. It is appreciated! – Dave Aug 22 '14 at 14:00
0

You can find everything explained here:

What is the purpose of the vshost.exe file?

To quote Daniel Brückner:

.exe - the 'normal' executable

.vshost.exe - a special version of the executable to aid debuging; see MSDN for details

.pdb - the Program Data Base with debug symbols

.vshost.exe.manifest - a kind of configuration file containing mostly dependencies on libraries

Community
  • 1
  • 1
nizzik
  • 826
  • 5
  • 18