Skip to content

Commit c951a94

Browse files
committed
add net9, update nugets
1 parent a321232 commit c951a94

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/main.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Setup .NET
2727
uses: actions/setup-dotnet@v4
2828
with:
29-
dotnet-version: 8.0.x
29+
dotnet-version: 9.0.x
3030

3131
- name: Build
3232
shell: pwsh

Vapolia.StrokedLabels/Vapolia.StrokedLabels.csproj

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFrameworks>net8.0-android;net8.0-ios</TargetFrameworks>
4+
<TargetFrameworks>net8.0-android;net8.0-ios;net9.0-android;net9.0-ios</TargetFrameworks>
55
<UseMaui>true</UseMaui>
66
<Nullable>enable</Nullable>
77
<LangVersion>latest</LangVersion>
@@ -13,8 +13,12 @@
1313
<SupportedOSPlatformVersion Condition="$([MSBuild]::GetTargetPlatformIdentifier('$(TargetFramework)')) == 'android'">27.0</SupportedOSPlatformVersion>
1414
</PropertyGroup>
1515

16-
<ItemGroup>
17-
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.90" />
16+
<ItemGroup Condition="'$(TargetFramework)' == 'net8-android' OR '$(TargetFramework)' == 'net8-ios'">
17+
<PackageReference Include="Microsoft.Maui.Controls" Version="8.0.100" />
18+
</ItemGroup>
19+
20+
<ItemGroup Condition="'$(TargetFramework)' == 'net9-android' OR '$(TargetFramework)' == 'net9-ios'">
21+
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.30" />
1822
</ItemGroup>
1923

2024

@@ -53,6 +57,7 @@
5357
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
5458
<PackageProjectUrl>https://github.com/vapolia/StrokedLabel</PackageProjectUrl>
5559
<PackageReleaseNotes>
60+
1.0.2: net9 in addition to net8
5661
1.0.1: Fix android
5762
1.0.0: Initial release
5863
</PackageReleaseNotes>

0 commit comments

Comments
 (0)