Skip to content

Commit

Permalink
Update to .NET 8 and bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
filipnavara committed Mar 5, 2024
1 parent 5380ae1 commit 4c6bfa6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
- name: Install workloads
run: dotnet workload install -s https://api.nuget.org/v3/index.json android ios
- name: Setup Java
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: 7.0.x
dotnet-version: 8.0.x
include-prerelease: true
- uses: actions/download-artifact@master
with:
Expand Down
10 changes: 5 additions & 5 deletions src/Acr.UserDialogs/Acr.UserDialogs.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFrameworks>netstandard2.0;net7.0-ios;net7.0-android</TargetFrameworks>
<TargetFrameworks>netstandard2.0;net8.0-ios;net8.0-android</TargetFrameworks>
<PackageProjectUrl>https://github.com/aritchie/userdialogs</PackageProjectUrl>
<Product>$(AssemblyName) ($(TargetFramework))</Product>
<Authors>Allan Ritchie</Authors>
Expand Down Expand Up @@ -39,7 +39,7 @@
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<PropertyGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) or $(TargetFramework.StartsWith('net7.0-android')) ">
<PropertyGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) or $(TargetFramework.StartsWith('net8.0-android')) ">
<DefineConstants>$(DefineConstants);ANDROIDX</DefineConstants>
</PropertyGroup>

Expand All @@ -57,11 +57,11 @@
<Compile Include="Platforms\Shared\**\*.cs" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) or $(TargetFramework.StartsWith('net7.0-android')) ">
<ItemGroup Condition=" $(TargetFramework.StartsWith('monoandroid')) or $(TargetFramework.StartsWith('net8.0-android')) ">
<Compile Include="Platforms\Shared\**\*.cs" />
<Compile Include="Platforms\Android\**\*.cs" />
<Reference Include="System.Drawing.Common" />
<PackageReference Include="AndHUD" Version="1.4.3" />
<PackageReference Include="AndHUD" Version="2.0.0" />
<PackageReference Include="Xamarin.Google.Android.Material" Version="1.4.0.4" />
</ItemGroup>

Expand All @@ -72,7 +72,7 @@
<PackageReference Include="BTProgressHUD" Version="1.3.4" />
</ItemGroup>

<ItemGroup Condition=" $(TargetFramework.StartsWith('net7.0-ios')) ">
<ItemGroup Condition=" $(TargetFramework.StartsWith('net8.0-ios')) ">
<Compile Include="Platforms\Shared\**\*.cs" />
<Compile Include="Platforms\ios\**\*.cs" />
<Compile Include="Platforms\Apple\**\*.cs" />
Expand Down

0 comments on commit 4c6bfa6

Please sign in to comment.