0

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?

asked Aug 5 at 0:43

1 Answer 1

2

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

answered Aug 5 at 1:47
Sign up to request clarification or add additional context in comments.

1 Comment

This is what a colleague suspected. Points are yours if this resolves in the next day.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.