简体   繁体   English

删除Visual Studio 2013上的.pdb文件?

[英]Remove .pdb file on Visual Studio 2013?

When I compile a .sln file with Visual Studio 2013 a .pdb file is generated. 当我使用Visual Studio 2013编译.sln文件时,将生成.pdb文件。 How can I disable the creation of the .pdb file? 如何禁用.pdb文件的创建?

In Project Properties see "Configuration Properties -> Linker -> Debugging -> Generate Debug Info". 在项目属性中,请参阅“配置属性->链接器->调试->生成调试信息”。

Also see: 另请参阅:

PDB Files - What are they and how to generate them PDB文件-它们是什么以及如何生成它们

.net - Release generating .pdb files, why? .net-释放生成的.pdb文件,为什么?

Those are relevant to Visual Studio 2013 also. 这些也与Visual Studio 2013相关。 Be sure to read the stackoverflow thread since it has important information. 请确保阅读stackoverflow线程,因为它具有重要信息。

I found it. 我找到了。

Project -> Properties -> Build 项目->属性->构建

Last category there is Output, click the Advanced button and the Debug info should be none. 最后一个类别是“输出”,单击“高级”按钮,“调试”信息应为“无”。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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