-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/run
Operating System: windows 10
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
The template "ASP.NET Core Web API" was created successfully.
Processing post-creation actions...
Restoring C:\Users\smokey\MyMicroservice\MyMicroservice.csproj:
Determining projects to restore...
C:\Users\smokey\MyMicroservice\MyMicroservice.csproj : error NU1100: Unable to resolve 'Microsoft.AspNetCore.OpenApi (>= 7.0.0)' for 'net7.0'.
C:\Users\smokey\MyMicroservice\MyMicroservice.csproj : error NU1100: Unable to resolve 'Swashbuckle.AspNetCore (>= 6.4.0)' for 'net7.0'.
Failed to restore C:\Users\smokey\MyMicroservice\MyMicroservice.csproj (in 194 ms).
Restore failed.
Post action failed.
Manual instructions: Run 'dotnet restore'
C:\Users\smokey\MyMicroservice\MyMicroservice.csproj : error NU1100: Unable to resolve 'Microsoft.AspNetCore.OpenApi (>= 7.0.0)' for 'net7.0'.
C:\Users\smokey\MyMicroservice\MyMicroservice.csproj : error NU1100: Unable to resolve 'Swashbuckle.AspNetCore (>= 6.4.0)' for 'net7.0'.