Skip to content

Commit

Permalink
TurnerSoftware#275 Add in Net 6 to optimize dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson-tomo committed Apr 19, 2024
1 parent 9fe2ba3 commit c4bb2f0
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<TargetFrameworks>netstandard2.0;net6.0</TargetFrameworks>
<Title>System.Text.Json Serializer for Cache Tower</Title>
<Description>System.Text.Json cache serialization for Cache Tower</Description>
<PackageTags>system.text.json;json;$(PackageBaseTags)</PackageTags>
<Authors>James Turner</Authors>
</PropertyGroup>

<ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'netstandard6.0'">
<PackageReference Include="System.Text.Json" Version="6.0.8" />
</ItemGroup>

Expand Down
12 changes: 9 additions & 3 deletions src/CacheTower/CacheTower.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0</TargetFrameworks>
<Title>Cache Tower</Title>
<Description>A multi-layered caching system for .NET</Description>
<PackageTags>inmemory,$(PackageBaseTags)</PackageTags>
Expand All @@ -13,13 +13,19 @@
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="6.0.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.4" />
<PackageReference Include="Nito.AsyncEx" Version="5.1.2" />
<PackageReference Condition="'$(TargetFramework)' == 'netstandard2.0'" Include="Microsoft.Bcl.AsyncInterfaces" Version="6.0.0" />
</ItemGroup>

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

<ItemGroup Condition="'$(TargetFramework)' == 'netstandard2.0' or '$(TargetFramework)' == 'netstandard2.1'">
<PackageReference Include="System.Memory" Version="4.5.5" />
</ItemGroup>

<ItemGroup>
<PackageReference Update="Microsoft.SourceLink.GitHub" Version="1.1.1" />
<PackageReference Update="TurnerSoftware.BuildVersioning" Version="0.4.0" />
</ItemGroup>

</Project>

0 comments on commit c4bb2f0

Please sign in to comment.