Skip to content

ML.NET assemblies aren't getting the correct version. #5859

Open

Description

@michaelgsharp

When an assembly is built, it always has the version 1.0.0.0 regardless of the version we set in our config files.

We need to fix it so the correct version is put in the assembly file.

Activity

  1. andrasfuchs commented on Sep 12, 2022

    @andrasfuchs
    Contributor

    I just ran into this when I tried to get and show the version of ML.NET I'm using.

    I listed them using the following line:
    System.Reflection.Assembly.GetEntryAssembly().GetReferencedAssemblies().Where(ra => ra.Name.StartsWith("Microsoft.ML")).ToArray();

    All Microsoft.ML assemblies seem to have version 1.0.0.0 regardless if I use 1.7.1 or 2.0.0-preview.

    image

  2. added this to the ML.NET 2.0 milestone on Oct 10, 2022
  3. rosebyte commented on Sep 8, 2026

    @rosebyte
    Member

    triage: we should increment the major version in assemblies

  4. added
    Priority:2Work that is important, but not critical for the release
    area-InfrastructureBuilds, CI, packaging, and repository tooling
    and removed on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Priority:2Work that is important, but not critical for the releasearea-InfrastructureBuilds, CI, packaging, and repository toolingbugSomething isn't workinggreendevelopment

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions