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

Unable to update with locked version on nuget 5.4/5.6 (works on 4.7.1) #9661

Closed
johnruck opened this issue Jun 9, 2020 · 2 comments
Closed
Labels
Functionality:Update The update package feature/command/experience Icebox cleanup candidate Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:NuGet.exe NuGet.exe Status:Inactive Icebox issues not updated for a specific long time

Comments

@johnruck
Copy link

johnruck commented Jun 9, 2020

NuGet Versions (5.4 and newer) (only tested on 4.71, 5.4, 5.6)

Discovered this after Sqlite made a breaking change requiring us to lock down to a specific version of the System.data.sqlite nuget packages.

nuget restore works in finding the specific package version without issue

nuget update fails on 5.4 and 5.6 due to the old version no longer being internally listed

G:\git-base\OfficeTests\NugetSpecificVersionTest\NugetSpecificVersionTest>c:\programdata\chocolatey\bin\nuget update packages.config
MSBuild auto-detection: using msbuild version '15.9.21.664' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin'.
Feeds used:
https://api.nuget.org/v3/index.json
http://rivendell.silverblazegaming.com:9000
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

Attempting to gather dependency information for multiple packages with respect to project 'G:\git-base\OfficeTests\NugetSpecificVersionTest\NugetSpecificVersionTest\NugetSpecificVersionTest.csproj', targeting '.NETFramework,Version=v4.6.1'
Gathering dependency information took 6.29 sec
Applying constraint '(= 1.0.112)' defined in 'packages.config'.
Unable to resolve 'System.Data.SQLite'. An additional constraint '(= 1.0.112)' defined in packages.config prevents this operation.

G:\git-base\OfficeTests\NugetSpecificVersionTest\NugetSpecificVersionTest>c:\users\john\tools\nuget update packages.config
MSBuild auto-detection: using msbuild version '15.9.21.664' from 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\bin'.
Feeds used:
https://api.nuget.org/v3/index.json
http://rivendell.silverblazegaming.com:9000
C:\Program Files (x86)\Microsoft SDKs\NuGetPackages\

Attempting to gather dependency information for multiple packages with respect to project 'G:\git-base\OfficeTests\NugetSpecificVersionTest\NugetSpecificVersionTest\NugetSpecificVersionTest.csproj', targeting '.NETFramework,Version=v4.6.1'
Gathering dependency information took 4.21 sec
Applying constraint '(= 1.0.112)' defined in 'packages.config'.
Applying constraint '(= 1.0.112.1)' defined in 'packages.config'.
Applying constraint '(= 1.0.112.1)' defined in 'packages.config'.
Applying constraint '(= 1.0.112.1)' defined in 'packages.config'.
Attempting to resolve dependencies for multiple packages.
Resolving dependency information took 0 ms
Resolving actions install multiple packages
Resolution was successful but resulted in no action
There are no new updates available.
No package updates are available from the current package source for project 'G:\git-base\OfficeTests\NugetSpecificVersionTest\NugetSpecificVersionTest\NugetSpecificVersionTest.csproj'.
Executing nuget actions took 3.89 ms

G:\git-base\OfficeTests\NugetSpecificVersionTest\NugetSpecificVersionTest>

for reference - the c:\users\john\tools\nuget is version 4.71, the other is version 5.6.

I am attaching a simple project that demonstrates the issue.

NugetSpecificVersionTest.zip

@nkolev92 nkolev92 added Functionality:Update The update package feature/command/experience Pipeline:Icebox Product:NuGet.exe NuGet.exe Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. labels Jul 23, 2020
@ghost ghost added the Status:Inactive Icebox issues not updated for a specific long time label Sep 1, 2022
@ghost
Copy link

ghost commented Nov 17, 2022

Due to lack of recent activity, this issue has been marked as a candidate for icebox cleanup. It will be closed if no further activity occurs within 14 more days. Any new comment (by anyone, not necessarily the author) will add a Triage:NeedsTriageDiscussion label and lead to a triaging process.
This process is part of the experimental Stale icebox issues cleanup we are currently trialing. Please share any feedback you might have in the linked issue.

@ghost
Copy link

ghost commented Dec 2, 2022

This issue will now be closed since it had been marked Icebox cleanup candidate, but received no further activity in the past 14 days.

@ghost ghost closed this as completed Dec 2, 2022
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionality:Update The update package feature/command/experience Icebox cleanup candidate Priority:3 Issues under consideration. With enough upvotes, will be reconsidered to be added to the backlog. Product:NuGet.exe NuGet.exe Status:Inactive Icebox issues not updated for a specific long time
Projects
None yet
Development

No branches or pull requests

2 participants