Skip to content

Commit a8e41c1

Browse files
committed
Try this
1 parent f67e1c9 commit a8e41c1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

SabreTools.Serialization/SabreTools.Serialization.csproj

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

29+
<!-- Set a build flag for Windows specifically -->
30+
<PropertyGroup Condition="'$(RuntimeIdentifier)'=='win-x86'">
31+
<DefineConstants>$(DefineConstants);WINX86</DefineConstants>
32+
</PropertyGroup>
33+
<PropertyGroup Condition="'$(RuntimeIdentifier)'=='win-x64'">
34+
<DefineConstants>$(DefineConstants);WINX64</DefineConstants>
35+
</PropertyGroup>
36+
2937
<!-- Exclude certain parts of external modules for by default -->
3038
<PropertyGroup>
3139
<DefaultItemExcludes>

0 commit comments

Comments
 (0)