Skip to content

Commit

Permalink
housekeeping: Update to Splat 12 (#697)
Browse files Browse the repository at this point in the history
* Update to Splat 12

* fix double target framework removed

* Delete NuGet.Config

Co-authored-by: Glenn <[email protected]>
  • Loading branch information
ChrisPulman and glennawatson authored Aug 5, 2021
1 parent e6ca78c commit 124f174
Show file tree
Hide file tree
Showing 14 changed files with 78 additions and 6,488 deletions.
7 changes: 0 additions & 7 deletions src/.nuget/NuGet.Config

This file was deleted.

3 changes: 2 additions & 1 deletion src/Akavache.Core/Akavache.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -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="11.*" />
<PackageReference Include="Splat" Version="12.*" />
</ItemGroup>

<ItemGroup>
Expand Down Expand Up @@ -71,4 +71,5 @@

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

</Project>
9 changes: 3 additions & 6 deletions src/Akavache.Drawing/Akavache.Drawing.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="MSBuild.Sdk.Extras">
<Project Sdk="MSBuild.Sdk.Extras">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;MonoAndroid10.0;Xamarin.iOS10;Xamarin.Mac20;Xamarin.TVOS10;Xamarin.TVOS10;Xamarin.WatchOS10;tizen40</TargetFrameworks>
<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>
<AssemblyName>Akavache.Drawing</AssemblyName>
<RootNamespace>Akavache</RootNamespace>
Expand All @@ -10,11 +10,8 @@
<Nullable>enable</Nullable>
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Splat.Drawing" Version="11.*" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\Akavache.Core\Akavache.Core.csproj" />
<PackageReference Include="Splat.Drawing" Version="12.*" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Akavache.Sqlite3/Akavache.Sqlite3.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<ItemGroup>
<PackageReference Include="SQLitePCLRaw.core" Version="2.0.4" />
<PackageReference Include="System.Reactive" Version="5.0.0" />
<PackageReference Include="Splat" Version="11.*" />
<PackageReference Include="Splat" Version="12.*" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/Akavache.Tests/Akavache.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
<PackageReference Include="Xunit.SkippableFact" Version="1.4.13" />
<PackageReference Include="Xunit.StaFact" Version="1.0.37" />
<PackageReference Include="ReactiveUI.Testing" Version="14.*" />
<PackageReference Include="Splat" Version="11.*" />
<PackageReference Include="Splat.Drawing" Version="11.*" />
<PackageReference Include="System.Net.Http" Version="4.3.4" />
<PackageReference Include="SQLitePCLRaw.bundle_e_sqlite3" Version="2.0.4" />
<PackageReference Include="FluentAssertions" Version="5.10.3" />
Expand Down
1 change: 0 additions & 1 deletion src/Akavache/Akavache.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
<Reference Include="netstandard" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Akavache.Core\Akavache.Core.csproj" />
<ProjectReference Include="..\Akavache.Sqlite3\Akavache.Sqlite3.csproj" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/Directory.build.props
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="stylecop.analyzers" Version="1.2.0-beta.333" PrivateAssets="all" />
<PackageReference Include="stylecop.analyzers" Version="1.2.0-beta.354" PrivateAssets="all" />
<PackageReference Include="Roslynator.Analyzers" Version="3.2.0" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.NetAnalyzers" Version="5.0.3" PrivateAssets="all" />
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
Expand All @@ -15,8 +15,7 @@
<AndroidApplication>True</AndroidApplication>
<AndroidResgenFile>Resources\Resource.Designer.cs</AndroidResgenFile>
<GenerateSerializationAssemblies>Off</GenerateSerializationAssemblies>
<AndroidUseLatestPlatformSdk>True</AndroidUseLatestPlatformSdk>
<TargetFrameworkVersion>v7.1</TargetFrameworkVersion>
<TargetFrameworkVersion>v11.0</TargetFrameworkVersion>
<AndroidManifest>Properties\AndroidManifest.xml</AndroidManifest>
<IntermediateOutputPath>t</IntermediateOutputPath>
</PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" package="Android.Android" android:versionCode="1" android:versionName="1.0">
<uses-sdk android:minSdkVersion="16" />
<application android:label="Android"></application>
<uses-sdk android:minSdkVersion="16" android:targetSdkVersion="30" />
<application android:label="Android"></application>
</manifest>

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions tests/NuGetInstallationIntegrationTests/UWP/UWP.csproj
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="15.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup>
Expand All @@ -11,8 +11,8 @@
<AssemblyName>UWP</AssemblyName>
<DefaultLanguage>en-US</DefaultLanguage>
<TargetPlatformIdentifier>UAP</TargetPlatformIdentifier>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.15063.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.10586.0</TargetPlatformMinVersion>
<TargetPlatformVersion Condition=" '$(TargetPlatformVersion)' == '' ">10.0.16299.0</TargetPlatformVersion>
<TargetPlatformMinVersion>10.0.16299.0</TargetPlatformMinVersion>
<MinimumVisualStudioVersion>14</MinimumVisualStudioVersion>
<FileAlignment>512</FileAlignment>
<ProjectTypeGuids>{A5A43C5B-DE2A-4C0C-9213-0A381AF9435A};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-sdk android:minSdkVersion="15" />
<uses-sdk android:minSdkVersion="15" android:targetSdkVersion="30" />
<application android:label="XamarinFormsApp.Android"></application>
</manifest>
</manifest>
Loading

0 comments on commit 124f174

Please sign in to comment.