Setup Problems

On every keystroke, NCrunch is running git.exe

Started by iqadeer on 2,027 views

I am evaluating ncruch for our project. I get into f[img]null[/img]ew troubles while using ncrunch. One of them is that on every change, ncruch runs git.exe, don't know why which is ver annoying as it opens the command window every time.
Hi, thanks for posting.

NCrunch doesn't call git.exe itself, but if this is being invoked by your build system or test code, then it can be triggered in response to actions by NCrunch.

Most likely you have a build step that is performing this action. I suggest checking through your projects for any build steps that could be doing this. It's possible they may have a dependency on a Nuget package that can do this.
Do have some Git Version type of MS Build Task running on build?

If it is gitversion then you can you can set the ms build property DisableGitVersionTask to true, when NCrunch is running.

<PropertyGroup Condition="'$(NCrunch)' == '1'">
<DisableGitVersionTask>true</DisableGitVersionTask>
</PropertyGroup>

Edited

This post has been deleted.
This post has been deleted.

Post a reply

Log in to reply.