NCrunch always disabled whenever I open a solution

427 views Asked by At

I'm currently using NCrunch 1.48.0.5 in Visual Studio 2010.

Every time I open a solution I find that NCrunch is disabled. How can I open a solution and have NCrunch enabled by default?

2

There are 2 answers

4
Ben Smith On BEST ANSWER

It is possible to force NCrunch to auto-enable on start-up. You can do this by setting "AutoEnableOnStartup" to true e.g.

<SolutionConfiguration>
    <AutoEnableOnStartup>true</AutoEnableOnStartup>
    ...
</SolutionConfiguration>

within the NCRUNCHSOLUTION file, which is found in the same directory as the solution file e.g.

YourSoultion.ncrunchsolution

More information can be found in the documentation here

4
SoftwareCarpenter On

By default, NCrunch will always start as disabled for a solution before it is explicitly turned on from the top menu.

You can toggle Ncrunch on and off from the by selecting Enable from the NCrunch Visual Studio menu.

There is also a global configuration file that has many config settings that you can use.

ncrunch documentation