C# release version has still .pdb file

后端 未结 5 1876
离开以前
离开以前 2020-11-28 22:56

I want to deploy the release version of my application done in C#.

When I build using the Release config, I still can see that .pdb files a

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-11-28 23:51

    If you want to disable pdb file generation, you need to use the "Advanced build settings" dialog available in project properties after clicking the "Advanced..." button" located in the lower part of the Build tab.

    Set Output - Debug info: to None for release build configuration and no pdb files will be generated.

提交回复
热议问题