每当我打开解决方案时,NCrunch总是被禁用

时间:2014-11-20 11:36:16

标签: visual-studio-2010 ncrunch

我目前在Visual Studio 2010中使用NCrunch 1.48.0.5。

每次打开解决方案时,我都会发现NCrunch已被禁用。如何打开解决方案并默认启用NCrunch?

2 个答案:

答案 0 :(得分:2)

默认情况下,在从顶部菜单明确打开解决方案之前,NCrunch将始终为解决方案启用。

您可以通过从NCrunch Visual Studio菜单中选择“启用”来打开和关闭Ncrunch。

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

ncrunch documentation

答案 1 :(得分:0)

可以强制NCrunch在启动时自动启用。你可以通过设置" AutoEnableOnStartup"来实现这一点。是的,例如。

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

在NCRUNCHSOLUTION文件中,该文件位于与解决方案文件相同的目录中,例如。

YourSoultion.ncrunchsolution

更多信息可在文档here

中找到
相关问题