Skip to content

Commit

Permalink
Run config schema generator on .NET 8 (bug workaround)
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-vmware committed Oct 11, 2024
1 parent 7f76bcd commit 9850cf8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<!-- Targeting .NET 8 to workaround bug https://github.com/dotnet/runtime/issues/108790 -->
<TargetFramework>net8.0</TargetFramework>
<IsPackable>false</IsPackable>
<OutputType>Exe</OutputType>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net9.0</TargetFramework>
<!-- Targeting .NET 8 to workaround bug https://github.com/dotnet/runtime/issues/108790 -->
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PreserveCompilationContext>true</PreserveCompilationContext>
Expand All @@ -25,7 +26,7 @@

<ItemGroup>
<PackageReference Include="coverlet.collector" Version="$(CoverletVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="$(FoundationalVersion)" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.*" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="$(TestSdkVersion)" />
<PackageReference Include="Newtonsoft.Json" Version="$(NewtonsoftJsonVersion)" />
<PackageReference Include="xunit" Version="$(XunitVersion)" />
Expand Down

0 comments on commit 9850cf8

Please sign in to comment.