You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have multiple csproj files in our org that include various runtime.*.System packages as transitive dependencies, which do get resolved in packages.lock.json, similar to the following:
It then fails with messages similar to the following (repeated for multiple runtime..System. packages):
error NU1101: Unable to find package runtime.win.System.Diagnostics.Debug. No packages exist with this id in source(s)
The package in question exists directly on the feed being used (and is even already in the local cache due to the earlier restore call when using 8.0.401).
If I delete the content of the lock file and re-run, restore succeeds and re-creates the exact same content. Attempting to rebuild again after that fails for restore again in the same way.
The specific MSBuild version being used is 17.12.0-preview-24422-09+d17ec720d.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered:
NuGet Product Used
dotnet.exe
Product Version
.NET SDK 9.0.100-rc.1.24452.12
Worked before?
.NET SDK 8.0.401
Impact
I'm unable to use this version
Repro Steps & Context
We have multiple csproj files in our org that include various runtime.*.System packages as transitive dependencies, which do get resolved in packages.lock.json, similar to the following:
When running the following after updating the SDK version:
dotnet.exe restore --use-lock-file --no-dependencies /p:ImportProjectExtensionProps=false /p:ImportProjectExtensionTargets=false /p:PublishReadyToRun=true /p:CommandlinePlatform=x64 /nodeReuse:false /maxcpucount:1 --lock-file-path "packages.lock.json"
It then fails with messages similar to the following (repeated for multiple runtime..System. packages):
error NU1101: Unable to find package runtime.win.System.Diagnostics.Debug. No packages exist with this id in source(s)
The package in question exists directly on the feed being used (and is even already in the local cache due to the earlier restore call when using 8.0.401).
If I delete the content of the lock file and re-run, restore succeeds and re-creates the exact same content. Attempting to rebuild again after that fails for restore again in the same way.
The specific MSBuild version being used is 17.12.0-preview-24422-09+d17ec720d.
Verbose Logs
No response
The text was updated successfully, but these errors were encountered: