Gitversion: [Bug] Missing assembly from dependencies manifest

Created on 6 Apr 2020  路  4Comments  路  Source: GitTools/GitVersion

Describe the bug
I am trying to run gitversion via cake

var GITV = GitVersion(new GitVersionSettings { UpdateAssemblyInfo = false, NoFetch = true, OutputType = GitVersionOutput.Json });

Expected Behavior

Gitversion should work as expected.

Actual Behavior

An assembly specified in the application dependencies manifest (gitversion.deps.json) was not found:
package: 'Microsoft.Extensions.Configuration.Binder', version: '3.0.0'
path: 'lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Binder.dll'

Context

Obviously builds are failing.

Your Environment

All the build agents have dotnet core SDK 3.1.1

Version Used:

  • Windows 10
bug

Most helpful comment

Just tried 5.3.3 (Gitversion.Portable) and it's working fine
*edit: but was broken in 5.3.2 - not sure if it's the choco upgrade that fixed it or the latest release, but now it works :)

All 4 comments

Which version of Gitversion do you have installed?

5.2.4 here

Just tried 5.3.3 (Gitversion.Portable) and it's working fine
*edit: but was broken in 5.3.2 - not sure if it's the choco upgrade that fixed it or the latest release, but now it works :)

Have same issue with GitVersion.CommandLine 5.3.3 after installing dotnet 3.1.300-preview-015135.

Error:
An assembly specified in the application dependencies manifest (gitversion.deps.json) was not found:
package: 'Microsoft.Extensions.Configuration.Binder', version: '3.0.0'
path: 'lib/netcoreapp3.0/Microsoft.Extensions.Configuration.Binder.dll'

Edit: Update to 5.3.4 fix this issue for me.

Was this page helpful?
0 / 5 - 0 ratings