Skip to content

Commit

Permalink
Update target frameworks to .NET 8.0 and clean up projects
Browse files Browse the repository at this point in the history
Updated target frameworks for `MonkeyCache.FileStore`, `MonkeyCache.LiteDB`, `MonkeyCache.SQLite`, and `MonkeyCache.csproj` from `net6.0` to `net8.0`. Updated `LiteDB` package in `MonkeyCache.LiteDB` from `5.0.19` to `5.0.21`. Removed project references to `MonkeyCache.TestApp` from `MonkeyCache.TestApp.Android`, `MonkeyCache.TestApp.AspNetCore`, and `MonkeyCache.TestApp.UWP`. Cleaned up solution by removing several test application projects and the `SharedMSBuildProjectFiles` section.
  • Loading branch information
jamesmontemagno committed Nov 27, 2024
1 parent fa90b28 commit 5ff143c
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 301 deletions.
2 changes: 1 addition & 1 deletion src/MonkeyCache.FileStore/MonkeyCache.FileStore.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyFileVersion>2.0.0.0</AssemblyFileVersion>
Expand Down
4 changes: 2 additions & 2 deletions src/MonkeyCache.LiteDB/MonkeyCache.LiteDB.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyFileVersion>2.0.0.0</AssemblyFileVersion>
Expand Down Expand Up @@ -50,7 +50,7 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="LiteDB" Version="5.0.19" />
<PackageReference Include="LiteDB" Version="5.0.21" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/MonkeyCache.SQLite/MonkeyCache.SQLite.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyFileVersion>2.0.0.0</AssemblyFileVersion>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,10 @@
<Project>{ea91cb9d-339a-410e-8ef0-8b765d3bfe3c}</Project>
<Name>MonkeyCache.SQLite</Name>
</ProjectReference>
<ProjectReference Include="..\MonkeyCache.TestApp\MonkeyCache.TestApp.csproj">
<Project>{74D2D876-A61D-4722-A2C4-7AC2427C1FAF}</Project>
<Name>MonkeyCache.TestApp</Name>
</ProjectReference>
<ProjectReference Include="..\MonkeyCache\MonkeyCache.csproj">
<Project>{9cad910f-0e32-491f-9953-819bba78b89f}</Project>
<Name>MonkeyCache</Name>
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
<ProjectReference Include="..\MonkeyCache.FileStore\MonkeyCache.FileStore.csproj" />
<ProjectReference Include="..\MonkeyCache.LiteDB\MonkeyCache.LiteDB.csproj" />
<ProjectReference Include="..\MonkeyCache.SQLite\MonkeyCache.SQLite.csproj" />
<ProjectReference Include="..\MonkeyCache.TestApp\MonkeyCache.TestApp.csproj" />
<ProjectReference Include="..\MonkeyCache\MonkeyCache.csproj" />
</ItemGroup>

Expand Down
6 changes: 1 addition & 5 deletions src/MonkeyCache.TestApp.UWP/MonkeyCache.TestApp.UWP.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,6 @@
<Project>{ea91cb9d-339a-410e-8ef0-8b765d3bfe3c}</Project>
<Name>MonkeyCache.SQLite</Name>
</ProjectReference>
<ProjectReference Include="..\MonkeyCache.TestApp\MonkeyCache.TestApp.csproj">
<Project>{74D2D876-A61D-4722-A2C4-7AC2427C1FAF}</Project>
<Name>MonkeyCache.TestApp</Name>
</ProjectReference>
<ProjectReference Include="..\MonkeyCache\MonkeyCache.csproj">
<Project>{9cad910f-0e32-491f-9953-819bba78b89f}</Project>
<Name>MonkeyCache</Name>
Expand All @@ -183,4 +179,4 @@
<VisualStudioVersion>14.0</VisualStudioVersion>
</PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\Microsoft\WindowsXaml\v$(VisualStudioVersion)\Microsoft.Windows.UI.Xaml.CSharp.targets" />
</Project>
</Project>
293 changes: 9 additions & 284 deletions src/MonkeyCache.sln

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/MonkeyCache/MonkeyCache.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net6.0;net6.0-android;net6.0-ios;net6.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net6.0-windows10.0.19041</TargetFrameworks>
<TargetFrameworks>net8.0;net8.0-android;net8.0-ios;net8.0-maccatalyst</TargetFrameworks>
<TargetFrameworks Condition=" '$(OS)' == 'Windows_NT' ">$(TargetFrameworks);net8.0-windows10.0.19041</TargetFrameworks>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyFileVersion>2.0.0.0</AssemblyFileVersion>
Expand Down

0 comments on commit 5ff143c

Please sign in to comment.