Visual Studio 2013 not recreating pdb files

*爱你&永不变心* 提交于 2019-12-01 21:53:27

Please check “Advanced Build Settings Dialog Box”

Is “Debug Info” set none?

see MSDN

I had this problem. I went into Build > Configuration Manager. Make sure that the active solution configuration is Debug. Next change the platform to be Any CPU. Somehow many projects were getting built on a mixed platform which was only allowing a couple project's pdb files to get built.

I have exactly the same problem. The only solution I've managed to come up with is to add a pre-build step to each project to delete the .pdb:

del "$(ProjectDir)obj\$(Configuration)\$(TargetName).pdb"

Which then seems to force it to create a new file when it's built.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!