Skip to content

Depreciation of GitVersion.CommandLine.DotNetCore #1864

@Techcadia

Description

@Techcadia

With the commit of c172e8f we can see that versions of GitVersion.CommandLine.DotNetCore are no longer being created. I understand the goal was to move everything into GitVersion.CommandLine since 29caeee dropped support for net472

My command I used to run was

dotnet ~/.nuget/packages/gitversion.commandline.dotnetcore/5.0.2-beta1.71/tools/GitVersion.dll

Now the price of admission went from the dotnet sdk that I already have installed for building to adding mono to my images.

https://pkgs.alpinelinux.org/package/edge/testing/x86/mono which is 80MB extra to download and 250MB of storage.

even with that said it does not work as expected

/build # mono ~/.nuget/packages/gitversion.commandline/5.0.2-beta1.99/tools/GitVersion.exe
Cannot open assembly '/root/.nuget/packages/gitversion.commandline/5.0.2-beta1.99/tools/GitVersion.exe': File does not contain a valid CIL image.

I am not sure if

  1. The GitVersion.CommandLine should contain the DLLs
  2. the package GitVersion.CommandLine.DotNetCore should continue to be maintained.
  3. The GitVersion.exe should work with mono

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions