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
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.