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

[nuget.exe] Missing packages are displayed as warnings and not errors #1038

Closed
emgarten opened this issue Jul 28, 2015 · 4 comments
Closed
Assignees

Comments

@emgarten
Copy link
Member

  1. Remove all sources which would contain the needed packages
  2. nuget.exe restore <packages.config>

The resulting messages are in yellow and shown as warnings, instead of as red errors.

Expected (2.8.6 behavior)
Unable to find version '1.0.9.3683' of package 'dotnetrdf'. (RED)

Actual (3.0.0)
WARNING: Unable to find version '1.0.9.3683' of package 'dotnetrdf'. (YELLOW)

@emgarten
Copy link
Member Author

Restoring to an invalid packages folder with -PackagesDirectory is also a warning instead of an error.

@deepakaravindr deepakaravindr self-assigned this Jul 29, 2015
deepakaravindr added a commit to NuGetArchive/NuGet.PackageManagement that referenced this issue Jul 29, 2015

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@deepakaravindr
Copy link

@emgarten
Copy link
Member Author

@deepakaravindr when I try this using the latest build I get warnings during the restore, and then errors after. The warnings and redundant and shouldn't be there.

@emgarten emgarten reopened this Aug 10, 2015
@emgarten
Copy link
Member Author

capture

@yishaigalatzer yishaigalatzer added this to the 3.1.0-commandline milestone Aug 10, 2015
@RanjiniM RanjiniM assigned emgarten and unassigned deepakaravindr Sep 1, 2015
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

4 participants