diff --git a/.github/dependabot.yml b/.github/dependabot.yml index a02dc81..ad45688 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -39,3 +39,9 @@ updates: nuget-dependencies: patterns: - "*" + ignore: + # Microsoft.OpenApi 3.x breaks Microsoft.AspNetCore.OpenApi 10.0.x source generation + # (CS0200 on IOpenApiMediaType.Example). See TrainLoop.Api.csproj comment. Revisit + # once a stable AspNetCore.OpenApi release supports Microsoft.OpenApi 3.x. + - dependency-name: "Microsoft.OpenApi" + versions: [">=3.0.0"] diff --git a/src/TrainLoop.Api/TrainLoop.Api.csproj b/src/TrainLoop.Api/TrainLoop.Api.csproj index e07827d..dc2dffd 100644 --- a/src/TrainLoop.Api/TrainLoop.Api.csproj +++ b/src/TrainLoop.Api/TrainLoop.Api.csproj @@ -7,11 +7,19 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all + diff --git a/src/TrainLoop.Infrastructure/TrainLoop.Infrastructure.csproj b/src/TrainLoop.Infrastructure/TrainLoop.Infrastructure.csproj index 55dd7b7..43e4330 100644 --- a/src/TrainLoop.Infrastructure/TrainLoop.Infrastructure.csproj +++ b/src/TrainLoop.Infrastructure/TrainLoop.Infrastructure.csproj @@ -5,8 +5,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/src/TrainLoop.Worker/TrainLoop.Worker.csproj b/src/TrainLoop.Worker/TrainLoop.Worker.csproj index bd0206b..7e69984 100644 --- a/src/TrainLoop.Worker/TrainLoop.Worker.csproj +++ b/src/TrainLoop.Worker/TrainLoop.Worker.csproj @@ -8,7 +8,7 @@ - + diff --git a/tests/TrainLoop.Api.Tests/TrainLoop.Api.Tests.csproj b/tests/TrainLoop.Api.Tests/TrainLoop.Api.Tests.csproj index bf5f351..3cee11b 100644 --- a/tests/TrainLoop.Api.Tests/TrainLoop.Api.Tests.csproj +++ b/tests/TrainLoop.Api.Tests/TrainLoop.Api.Tests.csproj @@ -9,7 +9,8 @@ - + + diff --git a/tests/TrainLoop.Core.Tests/TrainLoop.Core.Tests.csproj b/tests/TrainLoop.Core.Tests/TrainLoop.Core.Tests.csproj index 70b74cf..70a28cd 100644 --- a/tests/TrainLoop.Core.Tests/TrainLoop.Core.Tests.csproj +++ b/tests/TrainLoop.Core.Tests/TrainLoop.Core.Tests.csproj @@ -9,7 +9,7 @@ - +