Skip to content

Commit

Permalink
Update stashbox.csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
z4kn4fein committed Mar 6, 2022
1 parent 73712d6 commit 5bd4b32
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions src/stashbox.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net45;netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<TargetFrameworks>net45;net461;netstandard2.0;netstandard2.1;net5.0;net6.0</TargetFrameworks>
<AssemblyName>Stashbox</AssemblyName>
<AssemblyTitle>Stashbox</AssemblyTitle>
<RootNamespace>Stashbox</RootNamespace>
Expand Down Expand Up @@ -51,6 +51,10 @@
<PropertyGroup Condition="'$(TargetFramework)' == 'net45'">
<AssemblyTitle>Stashbox .NET 4.5</AssemblyTitle>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net461'">
<AssemblyTitle>Stashbox .NET 4.6.1</AssemblyTitle>
<DefineConstants>HAS_ASYNC_DISPOSABLE</DefineConstants>
</PropertyGroup>
<PropertyGroup Condition="'$(TargetFramework)' == 'net5.0'">
<AssemblyTitle>Stashbox .NET 5.0</AssemblyTitle>
<DefineConstants>HAS_ASYNC_DISPOSABLE</DefineConstants>
Expand All @@ -59,14 +63,21 @@
<AssemblyTitle>Stashbox .NET 6.0</AssemblyTitle>
<DefineConstants>HAS_ASYNC_DISPOSABLE</DefineConstants>
</PropertyGroup>


<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="System.Reflection.Emit.Lightweight" Version="4.7.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net461' Or '$(TargetFramework)' == 'netstandard2.0'">
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
</ItemGroup>

<ItemGroup Condition="'$(TargetFramework)' == 'net45'">
<PackageReference Include="System.Threading.Tasks.Extensions" Version="4.5.4" />

<ItemGroup Condition="'$(TargetFramework)' == 'net461'">
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>

Expand Down

0 comments on commit 5bd4b32

Please sign in to comment.