GitVersion icon indicating copy to clipboard operation
GitVersion copied to clipboard

UseGitVersion Task Fails to install GitVersion.Tool with .Net Core 3.1

Open jklaus opened this issue 6 years ago • 1 comments

In Azure DevOps I'm seeing issues trying to leverage the newer UserGitVersion task. The only error states that it could not be restored. Note, the older GitVersion task works but installs an out of date version of GitVersion (5.0.1 IIRC).

UseGitVersion Task

  • Task Version: 5.1.2
  • GitVersion Version: 5.3.4 (version attempted to install but failed)

Build Agent

  • Azure DevOps Hosted
  • OS: Windows 2019

.Net Core Used

  • Version 3.1.300

jklaus avatar May 29 '20 16:05 jklaus

As @arturcic wrote in https://github.com/GitTools/GitVersion/issues/1397#issuecomment-635463791:

As for the UseGitversion, we don't have resources to fix it

We're sorry the recommended task is hard to find, but please use the GitTools task instead. We are working on making it more easily available.

asbjornu avatar May 29 '20 16:05 asbjornu