I have a WPF application I am building. I am using Visual Studio Community 2015. In an effort to create a \"true\" release build, I am changing up some build settings so i
Add /p:AllowedReferenceRelatedFileExtensions=.pdb
in the MSBuild parameters to suppress library project .config files, library xml docs, etc. With the above, only PDBs are retained.
This parameter can also be added to csproj files, but personally I find it easier to manage as part of the build configuration.