When you publish a Microsoft Visual Studio Web site without a debug file in the bin file, the PDB file

Source: Internet
Author: User

The reason to have a debug file is because it is easy to quickly navigate to the Fault code node

Here's how to implement the debug file and publish it to the bin file in the directory.


After the corresponding website is acquired

Compile

Publish "Find the node that needs to be published, Presentationlayer, select right Click > Properties > Package/Publish Web

Configure Selection activity (Release), find "Exclude generated debug Symbols (G)" To confirm check

Should not check, remove tick

Then go back to the published node, right-click > Publish > Settings > "File Publishing Options"

Tick "Delete existing files before publishing" & "pre-compile (C) configuration during publishing", click Configure to go to "Advanced precompilation settings"

Tick "issue debug information" to confirm that the next step is published under the specified directory.



Another: If the directory is fixed, go to: "Solution Explorer" to find a large project for this project, right-click on "Check In"

This way, the next time you publish, you can publish the PDB file to the corresponding directory during the publishing process.



When you publish a Microsoft Visual Studio Web site without a debug file in the bin file, the PDB file

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.