Skip to content

Commit

Permalink
Breaking change: Update Targets Remove net5.0/net461/netcore3.1 (#749)
Browse files Browse the repository at this point in the history
* Update Targets

Add net6 target,
remove netcore3.1
change net461 to net462
change monoandriod10 to monoandriod11

* Update ApiApprovalTests.AkavacheCore.net462.approved.txt

* Update Akavache.Tests.csproj

* Update Akavache.Tests.csproj

* remove n462 api tests

* remove net6.0-windows from test

Co-authored-by: Glenn <5834289+glennawatson@users.noreply.github.com>
  • Loading branch information
ChrisPulman and glennawatson authored Dec 12, 2021
1 parent bace9a4 commit 36afb81
Show file tree
Hide file tree
Showing 19 changed files with 27 additions and 655 deletions.
14 changes: 3 additions & 11 deletions src/Akavache.Core/Akavache.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net5.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461;uap10.0.16299;net5.0-windows</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net462;uap10.0.16299;net6.0-windows</TargetFrameworks>
<AssemblyName>Akavache.Core</AssemblyName>
<RootNamespace>Akavache</RootNamespace>
<Description>An asynchronous, persistent key-value store for desktop and mobile applications on .NET</Description>
Expand All @@ -14,7 +14,7 @@
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="Newtonsoft.Json.Bson" Version="1.0.2" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
<PackageReference Include="Splat" Version="13.*" />
<PackageReference Include="Splat" Version="14.*" />
</ItemGroup>

<ItemGroup>
Expand All @@ -23,17 +23,12 @@
<Compile Include="Platforms\shared\**\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('netstandard2')) ">
</ItemGroup>


<ItemGroup Condition=" !$(TargetFramework.StartsWith('uap'))">
<Compile Include="Platforms\shared-not-uwp\**\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('net4')) ">
<PackageReference Include="System.Security.Cryptography.ProtectedData" Version="6.0.0" />
<PackageReference Include="System.ValueTuple" Version="4.5.0" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('uap')) ">
Expand Down Expand Up @@ -69,7 +64,4 @@
<Compile Include="Platforms\xamarin-mobile\**\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('netcoreapp')) ">
</ItemGroup>

</Project>
6 changes: 3 additions & 3 deletions src/Akavache.Drawing/Akavache.Drawing.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;MonoAndroid10.0;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40;</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461;uap10.0.16299;netcoreapp3.1;net5.0-windows</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;MonoAndroid11.0;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40;</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net462;uap10.0.16299;net6.0-windows</TargetFrameworks>
<AssemblyName>Akavache.Drawing</AssemblyName>
<RootNamespace>Akavache</RootNamespace>
<Description>An asynchronous, persistent key-value store for desktop and mobile applications on .NET</Description>
Expand All @@ -12,6 +12,6 @@

<ItemGroup>
<ProjectReference Include="..\Akavache.Core\Akavache.Core.csproj" />
<PackageReference Include="Splat.Drawing" Version="13.*" />
<PackageReference Include="Splat.Drawing" Version="14.*" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions src/Akavache.Mobile/Akavache.Mobile.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="MSBuild.Sdk.Extras">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40;net5.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461;uap10.0.16299</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net462;uap10.0.16299</TargetFrameworks>
<AssemblyName>Akavache.Mobile</AssemblyName>
<RootNamespace>Akavache.Mobile</RootNamespace>
<Description>An asynchronous, persistent key-value store for desktop and mobile applications on .NET</Description>
Expand All @@ -12,7 +12,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="reactiveui" Version="16.*" />
<PackageReference Include="reactiveui" Version="17.*" />
</ItemGroup>

<ItemGroup>
Expand Down
6 changes: 3 additions & 3 deletions src/Akavache.Sqlite3/Akavache.Sqlite3.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="MSBuild.Sdk.Extras">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid10.0;tizen40</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net461;uap10.0.16299;net5.0</TargetFrameworks>
<TargetFrameworks>netstandard2.0;netstandard2.1;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;MonoAndroid11.0;tizen40;net6.0</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net462;uap10.0.16299</TargetFrameworks>
<AssemblyName>Akavache.Sqlite3</AssemblyName>
<RootNamespace>Akavache.Sqlite3</RootNamespace>
<Description>Akavache Sqlite3</Description>
Expand All @@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="SQLitePCLRaw.core" Version="2.0.7" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
<PackageReference Include="Splat" Version="13.*" />
<PackageReference Include="Splat" Version="14.*" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading

0 comments on commit 36afb81

Please sign in to comment.