GitVersion: GitVersion 4.0.0 fails on VSTS

Now that the 4.0.0 version of GitVersion has been published to the Marketplace I’ve been trying to use it in my projects, but unfortunately I’m getting an error when using the 4.0 version of the build task:

2018-10-14T17:50:43.3560348Z ##[error]File not found: 'D:\a\_tasks\GitVersion_e5983830-3f75-11e5-82ed-81492570a08e\4.0.0\GitVersion.js'

This looks like a packaging issue with the VSTS extension. Looks like the build task is written in TypeScript, so I’m guessing that the TypeScript wasn’t transpiled to JavaScript at the time of the release. I believe @arturcic published the 4.0.0 version of the VSTS task as a part of #1445.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 2
  • Comments: 20 (11 by maintainers)

Commits related to this issue

Most upvoted comments

When will this be released?

The version that is used in the VSTS package is a .NET Framework package - il-merged. That was the way it was packaged before v.4.0.0, and I did not changed that, so it’s still running with mono. Probably we might consider using the .NET core version, but that will add a dependency on .net core to be installed, now it’s on mono

Sounds good. I’ll file another issue for the macOS and Linux failures.