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

packages.config restore shows errors as NU1000 #5743

Closed
emgarten opened this issue Aug 11, 2017 · 0 comments · Fixed by NuGet/NuGet.Client#1634
Closed

packages.config restore shows errors as NU1000 #5743

emgarten opened this issue Aug 11, 2017 · 0 comments · Fixed by NuGet/NuGet.Client#1634

Comments

@emgarten
Copy link
Member

Packages.config restore displays missing package errors as NU1000, this code should be removed from the message.

WARNING: Unable to find version '6.0.1' of package 'EntityFramework'.
  D:\tmp\tooltest\: Package 'EntityFramework.6.0.1' is not found on source 'D:\tmp\tooltest\'.

WARNING: Unable to find version '10.0.3' of package 'Newtonsoft.Json'.
  D:\tmp\tooltest\: Package 'Newtonsoft.Json.10.0.3' is not found on source 'D:\tmp\tooltest\'.


Errors in packages.config projects
    NU1000: Unable to find version '10.0.3' of package 'Newtonsoft.Json'.
      D:\tmp\tooltest\: Package 'Newtonsoft.Json.10.0.3' is not found on source 'D:\tmp\tooltest\'.
    NU1000: Unable to find version '6.0.1' of package 'EntityFramework'.
      D:\tmp\tooltest\: Package 'EntityFramework.6.0.1' is not found on source 'D:\tmp\tooltest\'.
@emgarten emgarten self-assigned this Aug 11, 2017
@emgarten emgarten added this to the 4.4 milestone Aug 11, 2017
emgarten added a commit to NuGet/NuGet.Client that referenced this issue Aug 12, 2017
* Allow updating packages when -ExcludeVersion is used
* Improved detection of already installed packages when -ExcludeVersion is used
* Adding -Framework switch to allow setting the target framework used when resolving dependencies.
* Remove NU1000 code from packages.config restore errors.
* Avoid unneeded downloads when a version is not given and the package is cached.
* Disable parallel for mono
* Display errors and return a non-zero exit when install on packages.config fails
* Remove old files during upgrades with -ExcludeVersion

Fixes NuGet/Home#5743
Fixes NuGet/Home#5737
Fixes NuGet/Home#5736
Fixes NuGet/Home#5741
Fixes NuGet/Home#5017
Fixes NuGet/Home#3957
Fixes NuGet/Home#2405
emgarten added a commit to NuGet/NuGet.Client that referenced this issue Aug 12, 2017
* Allow updating packages when -ExcludeVersion is used
* Improved detection of already installed packages when -ExcludeVersion is used
* Adding -Framework switch to allow setting the target framework used when resolving dependencies.
* Remove NU1000 code from packages.config restore errors.
* Avoid unneeded downloads when a version is not given and the package is cached.
* Disable parallel for mono
* Display errors and return a non-zero exit when install on packages.config fails
* Remove old files during upgrades with -ExcludeVersion

Fixes NuGet/Home#5743
Fixes NuGet/Home#5737
Fixes NuGet/Home#5736
Fixes NuGet/Home#5741
Fixes NuGet/Home#5017
Fixes NuGet/Home#3957
Fixes NuGet/Home#2405
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant