问题
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:
In the main menu navigate to Project, and at the bottom Project Name Properties.
In the left pane, click on Build, then you should see:
Now, click on Advanced button at the bottom-right corner.
Finally, you can chose None in Debug info.
来源:https://stackoverflow.com/questions/46784553/how-to-disable-pdb-file-creation-in-visual-studio-2015