Skip to content

Commit 33e83b9

Browse files
committed
Try this
1 parent 57759a3 commit 33e83b9

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

BinaryObjectScanner/BinaryObjectScanner.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
<ItemGroup>
3038
<InternalsVisibleTo Include="BinaryObjectScanner.Test" />
3139
</ItemGroup>

0 commit comments

Comments
 (0)