如何在 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.