Build/Test Issues

Project won't build

Started by csr01x on 4,528 views

NCrunch used to build my projects just fine. But now, one of my projects won't build. It gives Code Analysis errors:

CA1709 : Microsoft.Naming : Correct the casing of 'WPF' in namespace name 'Intel.Cqn.Luminis.LuminisWPF' by changing it to 'Wpf'.
(-1)#1: CA1704 : Microsoft.Naming : Correct the spelling of 'Cqn' in namespace name 'Intel.Cqn.Luminis.LuminisWPF'.

The solution builds just fine in Visual Studio. I did a VS Clean and Rebuild and again solution builds just fine in VS. But project will not build in NCRunch.
Thanks,
Cesar
I figured it out. NCRunch was not building my project because CodeAnalysisRuleSet was changed in .csproj file. I changed it back and it works again.
Hi, thanks for sharing this issue.

I find it a bit strange that this problem surfaced only in the NCrunch build and not in the Visual Studio one. Is the CodeAnalysisRuleSet option perhaps specified in a platform/configuration-specific section of the project file? I'm glad you've managed to solve the problem, though it would be great to hear if there's anything that could be done from the side of NCrunch to make a situation like this more intuitive.


Cheers,

Remco

Post a reply

Log in to reply.