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

Notification

Icon
Error

Prevent ncrunch from loading a certain project.
ristaloff
#1 Posted : Monday, August 15, 2016 11:59:15 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/15/2016(UTC)
Posts: 2
Location: Norway

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi,

One of the projects in my solution can not be loaded by ncrunch. How can I make ncrunch ignore this project when it does not show up in the configuration window?

- Henrik
Remco
#2 Posted : Monday, August 15, 2016 1:27:04 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,145

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi Henrik,

Sorry for the bad user experience here. This is caused by a design oversight in the way that projects are being synchronised with Visual Studio. I hope to have a better solution to this soon ...

But meanwhile, create a file adjacent to your project file with a 'ncrunchproject' extension, for example:

MyProject.csproj

Should have the file:

MyProject.ncrunchproject

Inside this file, place the following XML:

<ProjectConfiguration>
<IgnoreThisComponentCompletely>true</IgnoreThisComponentCompletely>
</ProjectConfiguration>

NCrunch will then load this configuration when it initialises and it will know not to wait for VS to report the project.

1 user thanked Remco for this useful post.
ristaloff on 8/17/2016(UTC)
ristaloff
#3 Posted : Wednesday, August 17, 2016 6:33:46 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 8/15/2016(UTC)
Posts: 2
Location: Norway

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Worked like a charm!

Thanks for a great product and great support!
1 user thanked ristaloff for this useful post.
Remco on 8/17/2016(UTC)
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.026 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download