Hi, I have noticed that during build in NCrunch it does the code analysis run as per my regular build. Is it possible to tell NCrunch not to do the code analysis when it's building? It seems pretty superfluous to do that. And takes a lot of time as well.
Build/Test Issues
FxCop (CodeAnalysis) is running during NCrunch build
Started by Mangust on 5,987 views
Remco NCrunch Developer
#3197
16 Nov 2012 22:45 UTC
Hi, thanks for posting!
The best way to handle this situation would be to find the property or build step inside your .proj that involves executing FxCop, and marking it with a condition so that it will only execute if NCrunch isn't present.
You'll find an example of how to implement this conditional build behaviour in the documentation.
if you're running Code Contracts, also make sure you have the NCrunch configuration setting Allow Static Code Contract Checking disabled, as this can also significantly increase your build times.
I hope this helps.
Cheers,
Remco
The best way to handle this situation would be to find the property or build step inside your .proj that involves executing FxCop, and marking it with a condition so that it will only execute if NCrunch isn't present.
You'll find an example of how to implement this conditional build behaviour in the documentation.
if you're running Code Contracts, also make sure you have the NCrunch configuration setting Allow Static Code Contract Checking disabled, as this can also significantly increase your build times.
I hope this helps.
Cheers,
Remco
Post a reply
Log in to reply.