Open joelverhagen opened 7 years ago
Log without -verbosity Detailed
:
Feeds used:
https://dev.nugettest.org/api/v2
GET https://dev.nugettest.org/api/v2/FindPackagesById()?id='jver.semver1'
OK https://dev.nugettest.org/api/v2/FindPackagesById()?id='jver.semver1' 113ms
Attempting to gather dependency information for package 'jver.semver1.1.0.0' with respect to project 'C:\Users\jver\Downloads\test', targeting 'Any,Version=v0.0'
Gathering dependency information took 144.86 ms
Attempting to resolve dependencies for package 'jver.semver1.1.0.0' with DependencyBehavior 'Lowest'
Unable to resolve dependency 'NETStandard.Library'. Source(s) used: 'nuget.org'.
@zhili1208 - this sounds similar to the 4.1 fix we did in VSIX. Same issue?
@joelverhagen - did this work before? in what version? (remove semver from your repro?)
@rrelyea, I did not try older versions. SemVer version has nothing to do with this. This is a typical old SemVer 1.0.0 package.
Oh wait, I did try latest dev
build. Still reproes.
@zhili1208 - if this worked in 3.5, we'd want to discuss a fix for 4.1.
The 4.1 fix was around checking licenses which would not be part of command line.
👍 on fixing this for the next release.
Per rob, moving to future-0
Any update on this? Still getting the error with 4.4.1
nuget install System.IO.Compression.Brotli ^
-source https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json ^
-Prerelease
Ok seems to work if we provide additonal source:
nuget install System.IO.Compression.Brotli ^
-source https://dotnet.myget.org/F/dotnet-corefxlab/api/v3/index.json ^
-source https://dotnet.myget.org/F/dotnet-core/api/v3/index.json ^
-output deps ^
-Prerelease
Just hit this and spent several hours chasing the wrong problem given the totally incorrect error message:
Unable to resolve dependency 'Foo'. Source(s) used: 'nuget.org', 'File System', 'Microsoft Visual Studio Offline Packages'.
Tried nuget.exe 4.0.0.
Run this command:
or
It fails since
jver.semver1
has dependencies that are not onhttps://dev.nugettest.org/api/v2
. This seems reasonable but the error message says that it tried NuGet.org, which has the desired package. Confusing log line:Full:
If the package is already in the global packages folder, specifying the version explicitly works: