Skip to content

Commit

Permalink
Add conditional compilation symbols .NET Framework and .NET Core 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
augustoproiete committed Nov 14, 2020
1 parent 8c778c5 commit ac40da7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/Ookii.Dialogs.Wpf/Ookii.Dialogs.Wpf.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@
<TieredCompilationQuickJit>true</TieredCompilationQuickJit>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'net45' ">
<DefineConstants>$(DefineConstants);NETFX</DefineConstants>
</PropertyGroup>

<PropertyGroup Condition=" '$(TargetFramework)' == 'netcoreapp3.1' ">
<DefineConstants>$(DefineConstants);NETCORE31</DefineConstants>
</PropertyGroup>

<PropertyGroup>
<MinClientVersion>3.3</MinClientVersion>
<PackageId>Ookii.Dialogs.Wpf</PackageId>
Expand Down

0 comments on commit ac40da7

Please sign in to comment.