Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
types: [published]

env:
NET_VERSION: 9.*.*
NET_VERSION: 10.*.*
PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj'
NUGET_PATH: './**/IeuanWalker.Maui.StateButton.${{ github.event.release.tag_name }}.nupkg'

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- cron: '0 0 1 */3 *' # Every 3 months

env:
NET_VERSION: 9.*.*
NET_VERSION: 10.*.*
PROJECT_PATH: 'Scr/IeuanWalker.Maui.StateButton.csproj'
NUGET_PATH: './**/IeuanWalker.Maui.StateButton.1.0.0.nupkg'

Expand Down
4 changes: 2 additions & 2 deletions Demo/App.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net9.0-android;net9.0-ios;</TargetFrameworks>
<TargetFrameworks>net10.0-android;net10.0-ios;</TargetFrameworks>
<OutputType>Exe</OutputType>
<RootNamespace>App</RootNamespace>
<UseMaui>true</UseMaui>
Expand Down Expand Up @@ -40,7 +40,7 @@
<ItemGroup>
<PackageReference Include="CommunityToolkit.Maui" Version="9.1.1" />
<PackageReference Include="CommunityToolkit.Mvvm" Version="8.3.2" />
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.10" />
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.10" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Scr\IeuanWalker.Maui.StateButton.csproj" />
Expand Down
8 changes: 4 additions & 4 deletions Scr/IeuanWalker.Maui.StateButton.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net9.0;net9.0-android;net9.0-ios;</TargetFrameworks>
<TargetFrameworks>net10.0;net10.0-android;net10.0-ios;</TargetFrameworks>
<UseMaui>true</UseMaui>
<SingleProject>true</SingleProject>
<ImplicitUsings>enable</ImplicitUsings>
Expand Down Expand Up @@ -48,11 +48,11 @@
</Generator>
</MauiXaml>
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('net9.0-ios')) != true">
<ItemGroup Condition="$(TargetFramework.StartsWith('net10.0-ios')) != true">
<Compile Remove="**\**\*.ios.cs" />
<None Include="**\**\*.ios.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
</ItemGroup>
<ItemGroup Condition="$(TargetFramework.StartsWith('MonoAndroid')) != true AND $(TargetFramework.StartsWith('net9.0-android')) != true">
<ItemGroup Condition="$(TargetFramework.StartsWith('MonoAndroid')) != true AND $(TargetFramework.StartsWith('net10.0-android')) != true">
<Compile Remove="**\**\*.android.cs" />
<None Include="**\**\*.android.cs" Exclude="$(DefaultItemExcludes);$(DefaultExcludesInProjectFolder)" />
</ItemGroup>
Expand All @@ -65,6 +65,6 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Maui.Controls" Version="9.0.10" />
<PackageReference Include="Microsoft.Maui.Controls" Version="10.0.10" />
</ItemGroup>
</Project>