Reputation: 85
When I'm publishing the .net code via visual studio in RELEASE mode then it is creating .PDB files every time in the published folder.
Expected Result: Is that. I don't want .PDB files to generate after code publish.
Upvotes: 2
Views: 778
Reputation: 13601
If you right-click the project in the Solution Explorer and choose Properties, then go to the Build tab and click the Advanced button, you will see an option to control whether to generate debugging information. Set this to None in your release configuration and no PDB file will be generated.
Upvotes: 3