Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebDeploy publish not uploading PDB files (MVC precompiled webapp, VS2013)

When publishing a web application using IIS WebDeploy via the Publish command within Visual Studio (2014 in this case), all the files except the primary assemblys PDB file is uploaded.

The web.config has debug=false set. The relevant build configuration has pdb-only set, and the publish profile is set to emit debug information.

Why are the pdb files not being uploaded?

enter image description hereenter image description here

Rather confusingly, the pdb files for the compiled MVC views are included, just not the the pdbs for any actual assemblies used.

Adding file (domain\bin\App_Web_x13lezpq.pdb). // A MVC Compiled View Updating file (domain\bin\MyWebApplication.dll). // The main DLL has no PDB uploaded, although one is generated in the bin folder anyway.

like image 745
simbolo Avatar asked Sep 01 '14 15:09

simbolo


1 Answers

Solved, there is a third place to set the pdb settings - ensure the checkbox for 'Exclude generated debug symbols' is not checked.

enter image description here

like image 87
simbolo Avatar answered Nov 11 '22 11:11

simbolo