如何在 Visual Studio 2015 中禁用 PDB 文件创建? [英] How to disable PDB file creation in Visual Studio 2015?
本文介绍了如何在 Visual Studio 2015 中禁用 PDB 文件创建?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
IDE:我使用 Visual Studio 2015 Update 3(语言:C#、.NET 4.5).
IDE: I use Visual Studio 2015 Update 3 (Language: C#, .NET 4.5).
问题:当我编译发布解决方案时,会生成一个 PDB 文件.
Issue: When I compile a release solution a PDB file is generated.
问题:如何在 Visual Studio 2015 中禁用 PDB 文件创建?
Question: How to disable PDB file creation in Visual Studio 2015?
推荐答案
在主菜单中导航到项目,然后在底部项目名称属性.
In the main menu navigate to Project, and at the bottom Project Name Properties.
在左窗格中,点击Build,然后您应该看到:
In the left pane, click on Build, then you should see:
现在,点击右下角的高级按钮.
最后,您可以在调试信息中选择无.
Finally, you can chose None in Debug info.
这篇关于如何在 Visual Studio 2015 中禁用 PDB 文件创建?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文