Nuget Error
Options
Hello,
I'm trying to download the Microsoft.ML NuGet package, but I get the following error: part URI cannot start with two forward slashes. I've searched StackOverflow and GitHub, but I haven't found an answer/workaround. Has anybody come across a fix to this? Thank you.
I'm trying to download the Microsoft.ML NuGet package, but I get the following error: part URI cannot start with two forward slashes. I've searched StackOverflow and GitHub, but I haven't found an answer/workaround. Has anybody come across a fix to this? Thank you.
Comments
-
@JoeAlbahari @TheBinaryCPA
This is caused by the [Content_Types].xml, The library System.IO.Packaging.ZipPackage's ProcessOverrideTagAttributes method does not recognize following tag:<Override PartName="//LICENSE" ContentType="application/octet" />
The attribute name is "//LICENSE", this method try convert this string into an Uri, which caused the exception.
More specifically, it's throwed in this code: https://referencesource.microsoft.com/#windowsbase/Base/System/IO/Packaging/PackUriHelper.cs,793
Revert back to Microsoft.ML 0.6.0 can work around with this issue. -
@JoeAlbahari @sdflysha
Thank you for responding quickly. That's working thank you. Do you know if there is any way to get the 0.7 version working? I only ask since it's still in preview and the different versions change somewhat drastically. Not a big deal if not.