I'm looking to squeeze some more speed out of my build and was wondering if I could instruct msbuild to not generate PDB files. I'm passing the Configuration=Release
and DebugSymbols=false
property with no luck.
C# – Disable generating PDB files in MsBuild
buildcdebuggingmsbuild
Related Topic
- Standard file extension for MSBuild files
- How to specify the platform for MSBuild
- .net – Release generating .pdb files, why
- C# – Try-catch speeding up the code
- Scala: list.flatten: no implicit argument matching parameter type (Any) = > Iterable[Any] was found
- .net – Found conflicts between different versions of the same dependent assembly that could not be resolved
Best Answer
You may have PDB generation in your release configuration. Add this to your release settings:
You can also, do this in your project configuration inside visual studio. Disable PDB Generation
Also, if running MSBuild from the command line, the command line arguments would be