How to disable PDB file creation in Visual Studio

2019-07-05 02:45发布

IDE: I use Visual Studio 2015 Update 3 (Language: C#, .NET 4.5).

Issue: When I compile a release solution a PDB file is generated.

Question: How to disable PDB file creation in Visual Studio 2015?

1条回答
迷人小祖宗
2楼-- · 2019-07-05 03:23
  1. In the main menu navigate to Project, and at the bottom Project Name Properties.

  2. In the left pane, click on Build, then you should see:

Project Properties -> Build

  1. Now, click on Advanced button at the bottom-right corner.

  2. Finally, you can chose None in Debug info.

查看更多
登录 后发表回答