Closed vdanche closed 1 year ago
Did you include the private feed when trying this out?
@marcpopMSFT the feed provided with the coherent build was added - https://pkgs.dev.azure.com/dnceng/internal/_packaging/8.0.100-rc.1.23421.2-shipping/nuget/v3/index.json. Did you mean some other feed too?
Ahh missed that the first time. I see it out. That package is in that feed so I'm not sure why the restore command isn't finding it:https://dev.azure.com/dnceng/internal/_artifacts/feed/8.0.100-rc.1.23421.2-shipping/NuGet/Microsoft.NETCore.App.Runtime.win-x64/overview/8.0.0-rc.1.23419.4
Is the feed not configured correctly? Is something broken with authenticated feeds? Is something broken in the restore.cmd?
I quickly tested self-contained build with the private feed in a sandbox and it worked so auth feeds are working. Maybe something with restore.cmd?
Was the nuget package mapping updated to reference the new feed?
@JoeRobich @marcpopMSFT @richaverma1 Today we checked with using the same SDK and feed, this issue not repro now.
1.Install NET8 RC1 SDK(8.0.100-rc.1.23421.2(runtime- 8.0.0-rc.1.23419.4)) from Artifacts: Pipelines - Run 20230821.1-8.0.100-rc.1.23421.2-189171 artifacts (azure.com)
Checkout the dotnet-format repo. git clone https://github.com/dotnet/format.git
Update the gobal.json by removing the "sdk" configuration before After:
Run Restore.cmd
Expected Result: Restore project successfully.
Actual Result: Restore failed with error NU1102
Note: Correct Feed has been added into Nuget.config file. https://pkgs.dev.azure.com/dnceng/internal/_packaging/8.0.100-rc.1.23421.2-shipping/nuget/v3/index.json
dotnet --info: