Skip to content

Commit ac40da7

Browse files
Add conditional compilation symbols .NET Framework and .NET Core 3.1
1 parent 8c778c5 commit ac40da7

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Ookii.Dialogs.Wpf/Ookii.Dialogs.Wpf.csproj

+8
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@
3232
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
3333
</PropertyGroup>
3434

35+
<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
36+
<DefineConstants>$(DefineConstants);NETFX</DefineConstants>
37+
</PropertyGroup>
38+
39+
<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
40+
<DefineConstants>$(DefineConstants);NETCORE31</DefineConstants>
41+
</PropertyGroup>
42+
3543
<PropertyGroup>
3644
<MinClientVersion>3.3</MinClientVersion>
3745
<PackageId>Ookii.Dialogs.Wpf</PackageId>

0 commit comments

Comments
 (0)