Crossgen2 nuget package is not pulled when dotnet restore is done · Issue #18999 · dotnet/sdk

When the csproj file has <PublishReadyToRun Condition=" '$(Configuration)' != 'Debug' ">true</PublishReadyToRun> and dotnet restore -r win7-x64 is executed, the microsoft.netcore.app.crossgen2.win-...