-
Notifications
You must be signed in to change notification settings - Fork 404
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 <[email protected]>
…CodeFixVerifier`2+Test.cs Co-authored-by: Brandon Minnick <[email protected]>
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
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) |
Tizen error is fixed |
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.
Copilot reviewed 384 out of 399 changed files in this pull request and generated no suggestions.
Files not reviewed (15)
- .editorconfig: Language not supported
- Directory.Build.props: Language not supported
- global.json: Language not supported
- samples/CommunityToolkit.Maui.Sample/AppShell.xaml: Language not supported
- samples/CommunityToolkit.Maui.Sample/CommunityToolkit.Maui.Sample.csproj: Language not supported
- samples/CommunityToolkit.Maui.Sample/Pages/Alerts/SnackbarPage.xaml: Language not supported
- samples/CommunityToolkit.Maui.Sample/Pages/Behaviors/AnimationBehaviorPage.xaml: Language not supported
- samples/CommunityToolkit.Maui.Sample/Pages/Behaviors/CharactersValidationBehaviorPage.xaml: Language not supported
- samples/CommunityToolkit.Maui.Sample/Pages/Behaviors/EmailValidationBehaviorPage.xaml: Language not supported
- samples/CommunityToolkit.Maui.Sample/Pages/Behaviors/AnimationBehaviorPage.xaml.cs: Evaluated as low risk
- samples/CommunityToolkit.Maui.Sample/Pages/Base/BaseGalleryPage.cs: Evaluated as low risk
- samples/CommunityToolkit.Maui.Sample/Pages/Behaviors/CharactersValidationBehaviorPage.xaml.cs: Evaluated as low risk
- samples/CommunityToolkit.Maui.Sample/Converters/CompareDoubleToColorConverter.cs: Evaluated as low risk
- samples/CommunityToolkit.Maui.Sample/Pages/Alerts/AlertsGalleryPage.cs: Evaluated as low risk
- samples/CommunityToolkit.Maui.Sample/Pages/Behaviors/BehaviorsGalleryPage.cs: Evaluated as low risk
Anyone knows when this is going to be online? |
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. Once Microsoft resolves their bug, we will merge this PR and publish it as a new release. Update: The MAUI team has merged their PR fixing our blocker and has scheduled it's release for .NET 9 SR2. |
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)
Microsoft.Maui.Controls
.NET 10 until .NET 10 GAAnalyzer Benchmarks