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

Notification

Icon
Error

NCrunch is not compatible with gitversions
Amaury
#1 Posted : Monday, May 31, 2021 11:49:23 AM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/31/2021(UTC)
Posts: 2
Location: Switzerland

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
Hi there,

I am using GitVersion to fill the AssemblyInfo.cs files along with some other properties and files. I have noticed that when it is installed, ncrunch build is suddenly failing:

Code:
..\..\..\..\Users\MyUser\.nuget\packages\gitversion.msbuild\5.6.9\tools\GitVersion.MsBuild.targets (9, 9): The command ""C:\Users\MyUser\.nuget\packages\gitversion.msbuild\5.6.9\tools\net48/gitversion.exe" "C:\Users\MyUser\AppData\Local\NCrunch\4468\10\MyProject\src\MyProject" -output file -outputfile obj\gitversion.json" exited with code 1.


Sadly, I don't have much more info to provide to help you with the matter as it seems that GitVersion output info are not dumped into ncrunch window.
Remco
#2 Posted : Tuesday, June 1, 2021 12:46:53 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 6,974

Thanks: 929 times
Was thanked: 1256 time(s) in 1169 post(s)
Hi, thanks for posting.

This is probably a file dependency issue. I don't think you're going to want GitVersion doing version bumps on your NCrunch build anyway. See this thread for more information on how to deactivate GitVersion under NCrunch.
1 user thanked Remco for this useful post.
Amaury on 6/1/2021(UTC)
Amaury
#3 Posted : Tuesday, June 1, 2021 12:00:11 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 5/31/2021(UTC)
Posts: 2
Location: Switzerland

Thanks: 1 times
Was thanked: 1 time(s) in 1 post(s)
I did look for "gitversion" in the thread but search result was returning an empty list... I might have screwed up. Anyways thanks for the help.
1 user thanked Amaury for this useful post.
Remco on 6/2/2021(UTC)
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.037 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download