Ben Smith
Ben Smith

Reputation: 20230

NCrunch always disabled whenever I open a solution

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?

Upvotes: 0

Views: 435

Answers (2)

Ben Smith
Ben Smith

Reputation: 20230

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

Upvotes: 0

SoftwareCarpenter
SoftwareCarpenter

Reputation: 3923

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

Upvotes: 2

Related Questions