Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Project won't build
csr01x
#1 Posted : Thursday, November 1, 2012 9:16:46 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/1/2012(UTC)
Posts: 2
Location: United States of America

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
csr01x
#2 Posted : Friday, November 2, 2012 4:11:49 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 11/1/2012(UTC)
Posts: 2
Location: United States of America

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.
Remco
#3 Posted : Saturday, November 3, 2012 12:23:50 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,976

Thanks: 931 times
Was thanked: 1257 time(s) in 1170 post(s)
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
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.040 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download