asp.net - MSBuild does not build the PDB files -


i have solution converted vs2010 vs2012. in release build, want produce pdb files , full debug symbols because need run remote debugging in production environment.

so set debug info full release configuration. confirmed followings in project manifest file:

<debugsymbols>true</debugsymbols> <debugtype>full</debugtype> <optimized>true</optimized> 

but when run msbuild, package creates doesn't include pdb files. however, if use visual studio's publish feature release configuration, end pdb files on target web server. wrong build command?

c:\windows\microsoft.net\framework\v4.0.30319\msbuild.exe "c:\mywebapp.csproj"     /t:rebuild;package    /p:outpath="c:\mywebapp\obj"    /p:outputpath="c:\mywebapp\bin"    /p:configuration=release    /p:platform=anycpu 

i tried turning off optimized bit, didn't help.

try adding

/p:debugsymbols=true

/p:debugtype=full

if publishing web application should add:

/p:excludegenerateddebugsymbol=false


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -