Skip to content

Commit 79e5cd2

Browse files
committed
Use the condition guards for xplat builds
1 parent f0aceeb commit 79e5cd2

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

sources/Windowing/Windowing/Silk.NET.Windowing.csproj

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0;net9.0;net8.0-android;net9.0-android;net8.0-ios;net9.0-ios</TargetFrameworks>
4+
<TargetFrameworks>net8.0;net9.0</TargetFrameworks>
5+
<TargetFrameworks Condition="$(SilkAndroidDisabled)' != 'true'">$(TargetFrameworks);net8.0-android;net9.0-android</TargetFrameworks>
6+
<TargetFrameworks Condition="$(SilkiOSDisabled)' != 'true'">$(TargetFrameworks);net8.0-ios;net9.0-ios</TargetFrameworks>
57
<ImplicitUsings>enable</ImplicitUsings>
68
<Nullable>enable</Nullable>
79
<NoWarn>0067</NoWarn> <!-- TODO -->

0 commit comments

Comments
 (0)