Is there a way to force MSBuild to treat a certain warning as an error?
When running the Publish target for a ccproj file to make a cspkg for deploy
in the msbuild commandline options you have this:
warningsAsErrors
Specifies a list of warnings to treat as errors. This parameter is equivalent to the /warnaserror compiler switch.
doc link : http://msdn.microsoft.com/en-us/library/vstudio/bb629394(v=vs.100).aspx