-
Notifications
You must be signed in to change notification settings - Fork 401
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support .NET 9.0 #2215
base: main
Are you sure you want to change the base?
Support .NET 9.0 #2215
Conversation
The errors are because in https://github.com/CommunityToolkit/Maui/blob/feature/sl-dotnet-nine/azure-pipelines.yml the .NET SDK to install is
See Lines 73 to 78 in c4169ed
Note that the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the Analyzer Unit Tests, Shaun! We can just remove the reference to Net80 since we won't be reverting back to .NET 8 after we update the library to .NET 9.
src/CommunityToolkit.Maui.Analyzers.UnitTests/Verifiers/CSharpAnalyzerVerifier`1+Test.cs
Outdated
Show resolved
Hide resolved
src/CommunityToolkit.Maui.Analyzers.UnitTests/Verifiers/CSharpCodeFixVerifier`2+Test.cs
Outdated
Show resolved
Hide resolved
…AnalyzerVerifier`1+Test.cs Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
…CodeFixVerifier`2+Test.cs Co-authored-by: Brandon Minnick <13558917+brminnick@users.noreply.github.com>
src/CommunityToolkit.Maui/Behaviors/EventToCommandBehavior.shared.cs
Outdated
Show resolved
Hide resolved
src/CommunityToolkit.Maui/Behaviors/ICommunityToolkitBehavior.shared.cs
Outdated
Show resolved
Hide resolved
src/CommunityToolkit.Maui/Behaviors/Validators/ValidationBehavior.shared.cs
Outdated
Show resolved
Hide resolved
Thanks for the suggestions. I know we have been discussing about migrating to GitHub actions so I will leave this with limited change for now |
src/CommunityToolkit.Maui/Behaviors/ICommunityToolkitBehavior.shared.cs
Outdated
Show resolved
Hide resolved
src/CommunityToolkit.Maui/Converters/ICommunityToolkitValueConverter.shared.cs
Outdated
Show resolved
Hide resolved
…Toolkit/Maui into feature/sl-dotnet-nine
This PR is blocked by dotnet/maui#25871. We are unable to provide .NET 9 support to the .NET MAUI Community Toolkits until this issue is resolved by the MAUI engineering team. |
Pinged the team on this! But might not be until next week until we get the time to really look into it. |
Hey @JoonghyunCho! We're seeing Tizen build errors on this PR. Could you take a look?
These look to be the same build errors we're seeing on open Maui.Markup PRs: CommunityToolkit/Maui.Markup#336 (comment) |
Description of Change
Linked Issues
PR Checklist
approved
(bug) orChampioned
(feature/proposal)main
at time of PRBreaking Changes
Major Breaking Changes
Behavior.BindingContext
CommunityToolkit.Maui.MediaElement
CommunityToolkit.Maui.Camera
to 15.0:Minor Breaking Changes
Expander
is not trim safeCommunityToolkit.Maui.Maps
is not trim safePopupService.ShowPopop(TViewModel)
[Obsolete]
methodPopupService.ShowPopup<T>()
insteadPopupService.ShowPopopAsync(TViewModel, CancellationToken)
[Obsolete]
methodPopupService.ShowPopupAsync<T>()
insteadBaseConverter<TFrom, TTo>
BaseConverter<TFrom, TTo>
is not supportedBaseConverter<TFrom, TTo, TParam>
BaseConverter<TFrom, TTo, TParam>
is not supportedValidationFlags.ValidateOnFocusing
renamed toValidationFlags.ValidateOnFocused
ValidationFlags.ValidateOnUnfocusing
renamed toValidationFlags.ValidateOnUnfocused
CommunityToolkit.Maui.Camera
, addlinker.xml
fornet9.0-android
to avoid the Linker removingXamarin.AndroidX.Camera.Core
,Xamarin.AndroidX.Camera.Lifecycle
,Xamarin.AndroidX.Camera.Video
,Xamarin.AndroidX.Camera.View
, andXamarin.AndroidX.Camera.Camera2
public static Task<bool> ShowKeyboardAsync(this ITextInput, CancellationToken)
->public static ValueTask<bool> ShowKeyboardAsync(this ITextInput, CancellationToken)
Analyzer Benchmarks