Using GitHub actions I'm building for Windows on an Ubuntu agent, this is a snippet from the build.yml:
jobs:
build:
runs-on: ubuntu-latest
- name: "⚙ Setup .NET"
uses: actions/setup-dotnet@v4
with:
dotnet-version: '8.0.x'
Today I started getting this error:
error NU1102: Unable to find package Microsoft.NETCore.App.Runtime.win-x64 with version (= 8.0.19)
How to fix it?
The 8.0.19
runtime is already on NuGet, but it might take a little longer until it's fully picked up by GitHub Actions or your environment.
Just give it a bit more time – it should resolve itself shortly.
https://www.nuget.org/packages/Microsoft.NETCore.App.Runtime.win-x64/8.0.19