In my project, static checking is disabled, but still, when I run msbuild.exe with cmd, it starts static checking for each project… Is there a way, with parameters, to disable this?
In my project, static checking is disabled, but still, when I run msbuild.exe with
Share
This might be a ‘little’ late, but since I just encountered the same problem and
/p:RunCodeAnalysis=falsedoesn’t work for me:Try
msbuild ... /p:CodeContractsRunCodeAnalysis=false.That works as of Feb. 2011 according to the code contracts documentation and my experience.