Skip to content

Commit 0c836bb

Browse files
committed
Try one more thing?
1 parent a8e41c1 commit 0c836bb

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

SabreTools.Serialization/SabreTools.Serialization.csproj

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,20 @@
2626
<PackageLicenseExpression>MIT</PackageLicenseExpression>
2727
</PropertyGroup>
2828

29+
<!-- Support All Frameworks -->
30+
<PropertyGroup Condition="$(TargetFramework.StartsWith(`net2`)) OR $(TargetFramework.StartsWith(`net3`)) OR $(TargetFramework.StartsWith(`net4`))">
31+
<RuntimeIdentifiers>win-x86;win-x64</RuntimeIdentifiers>
32+
</PropertyGroup>
33+
<PropertyGroup Condition="$(TargetFramework.StartsWith(`netcoreapp`)) OR $(TargetFramework.StartsWith(`net5`))">
34+
<RuntimeIdentifiers>win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64</RuntimeIdentifiers>
35+
</PropertyGroup>
36+
<PropertyGroup Condition="$(TargetFramework.StartsWith(`net6`)) OR $(TargetFramework.StartsWith(`net7`)) OR $(TargetFramework.StartsWith(`net8`)) OR $(TargetFramework.StartsWith(`net9`))">
37+
<RuntimeIdentifiers>win-x86;win-x64;win-arm64;linux-x64;linux-arm64;osx-x64;osx-arm64</RuntimeIdentifiers>
38+
</PropertyGroup>
39+
<PropertyGroup Condition="$(RuntimeIdentifier.StartsWith(`osx-arm`))">
40+
<TargetFrameworks>net6.0;net7.0;net8.0;net9.0</TargetFrameworks>
41+
</PropertyGroup>
42+
2943
<!-- Set a build flag for Windows specifically -->
3044
<PropertyGroup Condition="'$(RuntimeIdentifier)'=='win-x86'">
3145
<DefineConstants>$(DefineConstants);WINX86</DefineConstants>

0 commit comments

Comments
 (0)