Skip to content

Commit

Permalink
Avalonia.csproj Platform specific target framework
Browse files Browse the repository at this point in the history
  • Loading branch information
Neakita committed Oct 10, 2024
1 parent 8c90302 commit afcb290
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion SightKeeper.Avalonia/SightKeeper.Avalonia.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Windows'))">
<TargetFramework>net8.0-windows</TargetFramework>
</PropertyGroup>
<PropertyGroup Condition="$([MSBuild]::IsOSPlatform('Linux'))">
<TargetFramework>net8.0</TargetFramework>
</PropertyGroup>

<PropertyGroup>
<OutputType>WinExe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<BuiltInComInteropSupport>true</BuiltInComInteropSupport>
<ApplicationManifest>app.manifest</ApplicationManifest>
Expand Down

0 comments on commit afcb290

Please sign in to comment.