Build/Test Issues

Prevent ncrunch from loading a certain project.

Started by ristaloff on 5,152 views

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
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.

Worked like a charm!

Thanks for a great product and great support!

Post a reply

Log in to reply.