Visual Studio does not generate the. vshost.exe and. pdb files,
When you use Visual Studio to compile the project, you can set it down. When you select "release.zip", files with the extension name ".vshost.exe" and ". pdb" will also be generated. After getting bored, I checked the information and learned about it:
1. Explain the functions of each file first:
. Pdb file:
Program Database File ). By default, the pdb of Debug is full. It stores debugging and project status information, assertions, stack checks, and other code, and can be incrementally linked to the debugging configuration of the program.
The default setting of Release is PDB-only for pdb, which saves the program errors and the rows of errors.
.Vshost.exe file:
Host process file (VS host process) is mainly used to improve the debugging performance. It is best to delete a release.
.Vshost.exe. manifest file:
Is. XML files suffixed with manifest are used to organize and describe isolated applications and parallel components for binding and activating COM classes, interfaces, and libraries, it was previously stored in the registry.
Manifests also specifies the files and Windows classes that make up the Assembly. It is best to delete the files when releasing the assembly.
2. Do not generate these files:
Method to disable the. vshost.exe File
Open the "debug" tab of the project properties, select "Release", remove the "enable Visual Studio bearer process effective" check box, and save.
Method for not generating. pdb files
Open the "generate" tab of the project properties, select "Release", and then open "advanced 」. Change the debugging information in output from pdb only to none and save the settings.