Skip to content

The created service does not run #8041

@costica-moldovanu

Description

@costica-moldovanu

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'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stalearea-tutorialsIssues related to getting started tutorialsneeds-more-infoNot enough information has been provided. Please share more detail as requested.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions