在Visual Studio 2010中删除.pdb文件 [英] Remove .pdb file in visual studio 2010
本文介绍了在Visual Studio 2010中删除.pdb文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
当我使用Visual Studio 2010编译.sln文件时,会生成.pdb文件.如何禁用.pdb文件的创建?
When I compile a .sln file with visual studio 2010 a .pdb file is generated. How can I disable the creation of the .pdb file?
推荐答案
项目属性",构建",高级..."中有一个选项.
There is an option in the "Project Properties", "Build", "Advanced...".
将调试信息:"更改为无".
Change "Debug Info:" to None.
但是,只有在确定不需要它们时,才应该这样做.
最好保留PDB文件,然后复制所需的文件.
It might be better to keep the PDB files, and just copy over the files that you need.
在更改设置之前,请阅读此内容.
这篇关于在Visual Studio 2010中删除.pdb文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文