Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

On every keystroke, NCrunch is running git.exe
iqadeer
#1 Posted : Friday, March 17, 2023 9:29:51 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 3/17/2023(UTC)
Posts: 1
Location: Denmark

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.
Remco
#2 Posted : Friday, March 17, 2023 10:20:56 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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.
Der-Albert.com
#3 Posted : Thursday, March 23, 2023 5:25:22 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
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.

Quote:
<PropertyGroup Condition="'$(NCrunch)' == '1'">
<DisableGitVersionTask>true</DisableGitVersionTask>
</PropertyGroup>
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.030 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download