File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1212 <ItemGroup >
1313 <PackageReference Include =" Newtonsoft.Json" Version =" 13.0.3" />
1414 <PackageReference Include =" FluentValidation.AspNetCore" Version =" 11.3.0" />
15+ <PackageReference Include =" NSwag.MSBuild" Version =" 14.3.0" >
16+ <IncludeAssets >runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets >
17+ <PrivateAssets >all</PrivateAssets >
18+ </PackageReference >
1519 <PackageReference Include =" Swashbuckle.AspNetCore" Version =" 8.1.0" />
1620 <PackageReference Include =" Swashbuckle.AspNetCore.Annotations" Version =" 8.1.0" />
1721 <PackageReference Include =" Flurl.Http" Version =" 4.0.2" />
2327 </ItemGroup >
2428
2529 <Target Name =" NSwagGenerate" BeforeTargets =" BeforeBuild" >
26- <Exec Command =" nswag run $(ProjectDir)client.nswag" />
30+ <Exec Command =" $(NSwagExe_Net90) run $(ProjectDir)client.nswag" />
2731 </Target >
2832</Project >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ WORKDIR /build
99COPY TrainStation/ TrainStation/
1010
1111FROM build AS publish
12- RUN dotnet publish "TrainStation/API.csproj" -c Release
12+ RUN dotnet publish "TrainStation/API.csproj" -c Release -o /app/publish
1313
1414FROM base AS final
1515
You can’t perform that action at this time.
0 commit comments