-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
✔️ Resolution: DuplicateResolved as a duplicate of another issueResolved as a duplicate of another issueStatus: Resolvedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-openapi
Description
Is there an existing issue for this?
- I have searched the existing issues
Describe the bug
Program.cs
:
builder.Services.AddOpenApi();
if (app.Environment.IsDevelopment())
app.MapOpenApi();
.csproj
:
<PropertyGroup>
<OpenApiGenerateDocuments>true</OpenApiGenerateDocuments>
</PropertyGroup>
<PackageReference Include="Microsoft.OpenApi" Version="2.0.0" />
<PackageReference Include="Microsoft.Extensions.ApiDescription.Server" Version="9.0.8">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expected Behavior
No error
Steps To Reproduce
No response
Exceptions (if any)
/home/khteh/.nuget/packages/microsoft.extensions.apidescription.server/9.0.8/build/Microsoft.Extensions.ApiDescription.Server.targets(68,5): error MSB3073: The command "dotnet "/home/khteh/.nuget/packages/microsoft.extensions.apidescription.server/9.0.8/build/../tools/dotnet-getdocument.dll" --assembly "/usr/src/AspNetCoreWebApi/src/Web.Api/bin/Debug/net9.0/Web.Api.dll" --file-list "obj/Web.Api.OpenApiFiles.cache" --framework ".NETCoreApp,Version=v9.0" --output "/usr/src/AspNetCoreWebApi/src/Web.Api/obj" --project "Web.Api" --assets-file "/usr/src/AspNetCoreWebApi/src/Web.Api/obj/project.assets.json" --platform "AnyCPU" " exited with code 11.
.NET Version
9.0.108
Anything else?
No response
Metadata
Metadata
Assignees
Labels
✔️ Resolution: DuplicateResolved as a duplicate of another issueResolved as a duplicate of another issueStatus: Resolvedarea-minimalIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcIncludes minimal APIs, endpoint filters, parameter binding, request delegate generator etcfeature-openapi