-
Couldn't load subscription status.
- Fork 461
Add .NET 10 Support #2902
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
base: main
Are you sure you want to change the base?
Add .NET 10 Support #2902
Conversation
| <ItemGroup> | ||
| <!--Fix vulnerabilities--> | ||
| <PackageReference Include="System.Formats.Asn1" Version="9.0.9" /> | ||
| <PackageReference Include="System.Formats.Asn1" Version="10.0.0-rc.1.25451.107" /> |
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.
Probably we can remove these packages. Maybe vulnerabilities are fixed
| { | ||
| #if NET9_0 | ||
| #if NET10_0 | ||
| ReferenceAssemblies = Microsoft.CodeAnalysis.Testing.ReferenceAssemblies.Net.Net90; |
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.
Should we also update net10 here?
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.
Yup! We're waiting on Microsoft to release support for testing Analyzers with .NET 10. Microsoft.CodeAnalysis.Testing.ReferenceAssemblys.Net.Net100 hasn't yet been released.
For now, the Analyzer tests all fail.
I assume (hope) Microsoft will push support for this before .NET 10 GAs.
| { | ||
| #if NET9_0 | ||
| #if NET10_0 | ||
| ReferenceAssemblies = Microsoft.CodeAnalysis.Testing.ReferenceAssemblies.Net.Net90; |
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.
Reference assemblies net10?
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.
Yup! We're waiting on Microsoft to release support for testing Analyzers with .NET 10. Microsoft.CodeAnalysis.Testing.ReferenceAssemblys.Net.Net100 hasn't yet been released.
For now, the Analyzer tests all fail.
I assume (hope) Microsoft will push support for this before .NET 10 GAs.
This should no longer be necessary now that we don't have internal access to MAUI
- Added conditional compilation for .NET 10 in `CSharpAnalyzerVerifier`. - Updated `XmlnsDefinition` attributes for .NET MAUI compatibility. - Upgraded `Xamarin.AndroidX.Media3` packages to version 1.8.0. - Added `using` directives for `Microsoft.Maui` namespaces across files. - Adjusted platform-specific code to use updated APIs (e.g., `session.PlatformToken`). - Included Android resource `textureview.xml` in the project.
…to be removed before shipping.
Description of Change
This PR adds support for .NET 10
PR Checklist
mainat time of PRAdditional information
This PR will be merged when .NET 10 GAs in November 2025
Breaking Changes