Skip to content

Commit

Permalink
Update to .NET 8 and upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisreimann committed Jan 26, 2024
1 parent 29ce8b9 commit 87b7a1a
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 36 deletions.
12 changes: 6 additions & 6 deletions BTCPayApp.Core/BTCPayApp.Core.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand All @@ -21,12 +21,12 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="7.0.8" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="7.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="7.0.1" />
<PackageReference Include="Microsoft.Extensions.Http" Version="7.0.0" />
<PackageReference Include="Microsoft.AspNetCore.SignalR.Client" Version="8.0.1" />
<PackageReference Include="Microsoft.Extensions.DependencyInjection.Abstractions" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Extensions.Http" Version="8.0.0" />
<PackageReference Include="NBitcoin" Version="7.0.34" />
<PackageReference Include="TypedSignalR.Client" Version="3.4.0">
<PackageReference Include="TypedSignalR.Client" Version="3.4.3">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
Expand Down
6 changes: 3 additions & 3 deletions BTCPayApp.Desktop/BTCPayApp.Desktop.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
Expand All @@ -11,8 +11,8 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="7.0.7" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.Abstractions" Version="7.0.7" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.DataProtection.Abstractions" Version="8.0.1" />
</ItemGroup>

</Project>
10 changes: 5 additions & 5 deletions BTCPayApp.Maui/BTCPayApp.Maui.csproj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFrameworks>net7.0-ios;net7.0-android;</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('linux'))">net7.0-android;</TargetFrameworks>
<TargetFrameworks>net8.0-ios;net8.0-android;</TargetFrameworks>
<TargetFrameworks Condition="$([MSBuild]::IsOSPlatform('linux'))">net8.0-android;</TargetFrameworks>

<OutputType>Exe</OutputType>
<RootNamespace>BTCPayApp.Maui</RootNamespace>
Expand Down Expand Up @@ -47,7 +47,7 @@
<ProjectReference Include="..\BTCPayApp.UI\BTCPayApp.UI.csproj" />
</ItemGroup>

<!--
<!--
<ItemGroup>
<Content Include="..\BTCPayApp.UI\wwwroot\index.html">
<Link>wwwroot\index.html</Link>
Expand All @@ -56,8 +56,8 @@
-->

<ItemGroup>
<PackageReference Include="Xamarin.Essentials" Version="1.8.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="7.0.1" />
<PackageReference Include="Xamarin.Essentials" Version="1.8.1" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="8.0.0" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions BTCPayApp.Photino/BTCPayApp.Photino.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Platforms>AnyCPU;x64</Platforms>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
Expand All @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Photino.Blazor" Version="2.6.0" />
<PackageReference Include="Photino.Blazor" Version="2.7.0" />
</ItemGroup>
<ItemGroup>
<Content Update="wwwroot\**">
Expand Down
2 changes: 1 addition & 1 deletion BTCPayApp.Server/BTCPayApp.Server.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
Expand Down
16 changes: 8 additions & 8 deletions BTCPayApp.Tests/BTCPayApp.Tests.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>

Expand All @@ -10,16 +10,16 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="7.0.8" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="7.0.8" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.6.3" />
<PackageReference Include="Microsoft.Playwright" Version="1.37.1" />
<PackageReference Include="xunit" Version="2.4.2" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.5">
<PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.TestHost" Version="8.0.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
<PackageReference Include="Microsoft.Playwright" Version="1.41.2" />
<PackageReference Include="xunit" Version="2.6.6" />
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.6">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
<PackageReference Include="coverlet.collector" Version="3.2.0">
<PackageReference Include="coverlet.collector" Version="6.0.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
<PrivateAssets>all</PrivateAssets>
</PackageReference>
Expand Down
18 changes: 7 additions & 11 deletions BTCPayApp.UI/BTCPayApp.UI.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk.Razor">

<PropertyGroup>
<TargetFramework>net7.0</TargetFramework>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<PackageId>BTCPayApp.UI</PackageId>
Expand All @@ -13,19 +13,15 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="Fluxor.Blazor.Web" Version="5.8.0" />
<PackageReference Include="Fluxor.Blazor.Web.ReduxDevTools" Version="5.8.0" />
<PackageReference Include="Fluxor.Blazor.Web" Version="5.9.1" />
<PackageReference Include="Fluxor.Blazor.Web.ReduxDevTools" Version="5.9.1" />
<PackageReference Include="Microsoft.AspNetCore.Authorization" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.Authorization" Version="8.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.Forms" Version="8.0.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BTCPayApp.Core\BTCPayApp.Core.csproj" />
</ItemGroup>

<ItemGroup>
<Reference Include="Microsoft.AspNetCore.Http.Abstractions">
<HintPath>..\..\..\Program Files\dotnet\shared\Microsoft.AspNetCore.App\7.0.9\Microsoft.AspNetCore.Http.Abstractions.dll</HintPath>
</Reference>
</ItemGroup>


</Project>

0 comments on commit 87b7a1a

Please sign in to comment.