Visual Studio does not generate the. vshost.exe and. pdb files,

Source: Internet
Author: User

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.

 

 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.