Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#r loads the oldest NuGet from the feed #46

Closed
4 of 13 tasks
tparviainen opened this issue Nov 10, 2019 · 2 comments · Fixed by dotnet/try#693
Closed
4 of 13 tasks

#r loads the oldest NuGet from the feed #46

tparviainen opened this issue Nov 10, 2019 · 2 comments · Fixed by dotnet/try#693
Assignees

Comments

@tparviainen
Copy link

Describe the bug

Jupyter Lab / C# kernel, preview build of dotnet-try 1.0.19558.8 loads the newest (below v5.0.0) NuGet from the feed when the version is not defined in the #r command:
image

After upgrading to preview dotnet-try build 1.0.19558.9 the same #r command loads the oldest (below v1.0.0) NuGet package from the feed:
image

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: The default NuGet package should be the newest one when version is not given in the #r command.

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
@jonsequitur
Copy link
Contributor

Thanks for reporting this @tparviainen. As a workaround while we fix this, you can specify the version number:

#r "nuget:ClashOfClans,5.0.0"

@tparviainen
Copy link
Author

Thanks @jonsequitur, I have been using next command as a workaround for this issue (it always loads the latest version and I do not need to know the exact version number of the latest NuGet package):

#r "nuget: ClashOfClans, *"

The output from the previous command is:
image

brettfo referenced this issue in dotnet/try Dec 12, 2019
…#693)

* Fix Issue #624 - #r nuget selectes oldest package when version is not specified

* Naming
@jonsequitur jonsequitur transferred this issue from dotnet/try Jan 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants