简体   繁体   中英

Visual Studio 2013 Website Publish Not Copying .pdb files

I have checked the answer for VS 2012, it did not work. I do not precompile, I have "Debug Info" set to "full" , "Items to deploy" set to "Only files needed to run this application" and "Exclude generated debug symbols" not marked.

I have tested with "All files in this project" , and I have tried to edit the pubxml file. Besides not working I cannot find the file schema documentation.

Please help.

After a lot of tests, I noticed that "Exclude generated debug symbols" flickered as marked during the publish processing. My error was that I was editing the Active configuration -- which was Debug -- and not the Release configuration used in my publish process.

Please verify the Configuration combo on the project properties page, this was bizarre until I noticed that.

There´s an option in the Advanced Precompile Settings dialog (which is off by default); you find this dialog via the Settings tab of the Publish Web wizard... watch out for the (unoticable) Configure -link in the File Publish Options -drop-down...

在此输入图像描述

I've searched for this and tried every trick posted and nothing worked.

The only thing that worked for me was to take a copy of the bin folder and then delete all files from the bin folder and rebuild. When publishing I got a new error of a missing .dll which I had in the backup folder. When I copied it to the bin folder I was finally able to publish.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM