这是indexloc提供的服务,不要输入任何密码
Skip to content

Support wildcards in NuGet Versions #82

@eerhardt

Description

@eerhardt

Describe the bug

Please provide as much information as you can.

Try the following in a notebook:

#r "nuget:Microsoft.ML,1.*"

Expected result

I expect to get the latest stable ML.NET package.

Actual result

Attempting to install package Microsoft.ML, version 1....done!
Failed to add reference to package Microsoft.ML

index | value
-- | --
0 | error: '1.' is not a valid version string.

Note

If I do the following in a .csproj, it works correctly:

    <PackageReference Include="Microsoft.ML" Version="1.*" />

I expect it to work the same in a notebook.

Did this error occur while using dotnet try or online?

  • dotnet-try
  • online

What kind of error was it?

  • User Interface (UI): For example the output never displayed
  • Service Error: For example "The service is temporarily unavailable. We are working on it"
  • Other:

Screenshots

If applicable, add screenshots to help explain your problem.

Please complete the following:

  • OS
    • Windows 10
    • macOS
    • Linux (Please specify distro)
    • iOS
    • Android
  • Browser
    • Chrome
    • Edge
    • Safari

/cc @rchande

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