machinelearning icon indicating copy to clipboard operation
machinelearning copied to clipboard

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

Open michaelgsharp opened this issue 4 years ago • 1 comments

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.

michaelgsharp avatar Jun 22 '21 21:06 michaelgsharp

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

andrasfuchs avatar Sep 12 '22 07:09 andrasfuchs