Skip to content

Commit

Permalink
Use the condition guards for xplat builds
Browse files Browse the repository at this point in the history
  • Loading branch information
Perksey committed Feb 2, 2025
1 parent f0aceeb commit 79e5cd2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sources/Windowing/Windowing/Silk.NET.Windowing.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>net8.0;net9.0;net8.0-android;net9.0-android;net8.0-ios;net9.0-ios</TargetFrameworks>
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
<TargetFrameworks Condition="$(SilkAndroidDisabled)' != 'true'">$(TargetFrameworks);net8.0-android;net9.0-android</TargetFrameworks>
<TargetFrameworks Condition="$(SilkiOSDisabled)' != 'true'">$(TargetFrameworks);net8.0-ios;net9.0-ios</TargetFrameworks>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<NoWarn>0067</NoWarn> <!-- TODO -->
Expand Down

0 comments on commit 79e5cd2

Please sign in to comment.