Visual Studio does not generate the. Vshost.exe and. pdb files by way of "go"
When you compile a project by using Visual Studio, files with the extension ".vshost.exe" and ".pdb" are also generated, even when "release" is selected, by default.
First, explain the role of each file:
. pdb Files:
Program database file. By default, the PDB for debug is full, saving debugging and project state information, assertions, stack checks, and so on, which can be incrementally linked to a program's debug configuration.
The default setting for release specifies that the PDB is pdb-only, which error is saved and which line the error is in.
. vshost.exe File:
Host process files (VS host processes) are a feature in Visual Studio 2005, primarily to improve debugging performance. Release is best removed.
. vshost.exe.manifest File:
is a. manifest-suffix XML file that organizes and describes isolated applications and parallel components for the binding and activation of COM classes, interfaces, and libraries, which were previously stored in the registry.
Manifests also developed the files that make up the assembly and the Windows classes, which are also best deleted when release.
Second, the method of not generating these files:
Methods for not generating. vshost.exe files
, open the Debug tab of the project properties, make the constituent selected as "release", remove "visual Studio Hosting process valid" check after save.
methods that do not generate. pdb Files
, open the Build tab of the project properties, and then turn on "Verbose settings" after selecting "release". Saves the "debug information in output from"pdb only"to"none".
Transferred from: Http://blog.163.com/da7_1[email protected]/blog/static/1040726782014313113138244/
Visual Studio does not generate the. Vshost.exe and. pdb files by way of "go"