Skip to content

Commit

Permalink
Upgrade TrimCheck project to .NET 8
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinungf committed Nov 24, 2023
1 parent 8db0ecc commit 4d8fa2e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion SpreadCheetah.TrimCheck.Cmd/Program.cs
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Console.WriteLine("Publish this project with 'dotnet publish - c Release' to show trim warnings.");
Console.WriteLine("Publish this project with 'dotnet publish -c Release -r win-x64' to show trim warnings.");
Console.WriteLine("See https://docs.microsoft.com/en-us/dotnet/core/deploying/trimming/prepare-libraries-for-trimming for more information.");
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<RuntimeIdentifier>win-x64</RuntimeIdentifier>
<TargetFramework>net8.0</TargetFramework>
<PublishTrimmed>true</PublishTrimmed>
</PropertyGroup>

Expand Down
1 change: 1 addition & 0 deletions SpreadCheetah/SpreadCheetah.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

<!-- https://learn.microsoft.com/en-us/dotnet/core/compatibility/sdk/8.0/trimming-unsupported-targetframework -->
<IsTrimmable Condition="$([MSBuild]::IsTargetFrameworkCompatible('$(TargetFramework)', 'net6.0'))">true</IsTrimmable>
<IsAotCompatible>true</IsAotCompatible>

<!-- NuGet package -->
<PackageId>SpreadCheetah</PackageId>
Expand Down

0 comments on commit 4d8fa2e

Please sign in to comment.