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

dotnet add installs unlisted version if it is the latest #8638

Closed
richardszalay opened this issue Aug 22, 2017 · 3 comments
Closed

dotnet add installs unlisted version if it is the latest #8638

richardszalay opened this issue Aug 22, 2017 · 3 comments

Comments

@richardszalay
Copy link

Steps to reproduce

dotnet new console -o hwapp
cd hwapp
dotnet add package RichardSzalay.MockHttp

Expected behavior

Version 1.5.0 (latest listed version) is installed

Actual behavior

Version 3.0.0 (unlisted version) is installed

Environment data

dotnet --info output:

Product Information:
 Version:            2.0.0
 Commit SHA-1 hash:  cdcd1928c9

Runtime Environment:
 OS Name:     ubuntu
 OS Version:  14.04
 OS Platform: Linux
 RID:         ubuntu.14.04-x64
 Base Path:   /usr/share/dotnet/sdk/2.0.0/

Microsoft .NET Core Shared Framework Host

  Version  : 2.0.0
  Build    : e8b8861ac7faf042c87a5c2f9f2d04c98b69f28d
@richardszalay
Copy link
Author

FWIW, Install-Package works as expected.

@wli3
Copy link

wli3 commented Aug 23, 2017

Hi @richardszalay thank you for the issue.

For the behavior you mentioned, there is an opposite issue NuGet/Home#5069

I am waiting for the "designed behavior" from nuget

@wli3
Copy link

wli3 commented Aug 28, 2017

@richardszalay sorry for the delay, you are right, these 2 issues are the same. I am closing this one and only track it in NuGet/Home#5069

@wli3 wli3 closed this as completed Aug 28, 2017
@msftgits msftgits transferred this issue from dotnet/cli Jan 31, 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

No branches or pull requests

2 participants