Skip to content

Commit

Permalink
feat: Update target frameworks to .NET 8.0 + package versions
Browse files Browse the repository at this point in the history
- Updated the target framework of `SocialGuard.Api.DbMigrator.csproj` to `net8.0`
- Updated the target framework of `SocialGuard.Api.csproj` to `net8.0`
- Updated the target framework of `SocialGuard.Web.Viewer.csproj` to `net8.0`
- Updated various package references in all projects to their latest versions
  • Loading branch information
SakuraIsayeki committed Feb 10, 2024
1 parent 61b4544 commit 7eb894a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 23 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Worker">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>dotnet-SocialGuard.Api.DbMigrator-3AA5545F-89A5-43BD-81AE-EEB10C452C57</UserSecretsId>
Expand Down
37 changes: 17 additions & 20 deletions SocialGuard.Api/SocialGuard.Api.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<UserSecretsId>328b09f5-4635-4228-b9af-a4f5bab47844</UserSecretsId>
<ImplicitUsings>true</ImplicitUsings>
</PropertyGroup>
Expand All @@ -16,28 +16,25 @@

<ItemGroup>
<PackageReference Include="AspNetCore.Identity.Mongo" Version="8.3.3"/>
<PackageReference Include="EFCore.NamingConventions" Version="6.0.0"/>
<PackageReference Include="FlexLabs.EntityFrameworkCore.Upsert" Version="6.0.1"/>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.20.0"/>
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.3"/>
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="6.0.3"/>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.0.0"/>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.0.0"/>
<PackageReference Include="Microsoft.AspNetCore.SignalR" Version="1.1.0"/>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="6.0.3"/>
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="6.0.3">
<PackageReference Include="EFCore.NamingConventions" Version="8.0.3" />
<PackageReference Include="FlexLabs.EntityFrameworkCore.Upsert" Version="8.0.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.22.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Identity.EntityFrameworkCore" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning" Version="5.1.0" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer" Version="5.1.0" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.MessagePack" Version="8.0.1" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Design" Version="8.0.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="6.0.3"/>
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="6.16.0"/>
<PackageReference Include="MongoDB.Driver" Version="2.15.0"/>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="6.0.3"/>
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL.Design" Version="1.1.0"/>
<PackageReference Include="Serilog.AspNetCore" Version="5.0.0"/>
<PackageReference Include="Serilog.Extensions.Logging" Version="3.1.0"/>
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.3.0"/>
<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.16.0"/>
<PackageReference Include="Microsoft.Extensions.Identity.Core" Version="8.0.1" />
<PackageReference Include="Microsoft.IdentityModel.Tokens" Version="7.3.1" />
<PackageReference Include="MongoDB.Driver" Version="2.23.1" />
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="8.0.0" />
<PackageReference Include="Serilog.AspNetCore" Version="8.0.1" />
<PackageReference Include="Serilog.Extensions.Logging" Version="8.0.0" />
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
<PackageReference Include="System.Linq.Async" Version="6.0.1"/>
</ItemGroup>

Expand Down
3 changes: 1 addition & 2 deletions SocialGuard.Web.Viewer/SocialGuard.Web.Viewer.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk.BlazorWebAssembly">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<ServiceWorkerAssetsManifest>service-worker-assets.js</ServiceWorkerAssetsManifest>
<StaticWebAssetBasePath>viewer</StaticWebAssetBasePath>
</PropertyGroup>

<ItemGroup>
Expand Down

0 comments on commit 7eb894a

Please sign in to comment.