-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[net9.0] Update preview7 packages #23809
Conversation
What's this @jonathanpeppers not updating android here ? thats why?
|
@Eilon seems we need to update something no?
|
So is it fixed with a runtime that includes dotnet/runtime@2b48fcd? |
As a baby step you might want to merge this one first: |
4f91b02
to
14aa63c
Compare
ok new one , missing a feed ?
|
@javiercn / @MackinnonBuck / @halter73 - any idea about these Razor warnings we're starting to see in net9? Do we need to update or change something? |
I put a NoWarn for the Blazor/Razor issue in 2657e97, but you can see the warnings listed there in the commit message. I also updated to the latest .NET 9 Preview 7 builds of xamarin/xamarin-macios. So maybe that will fix the
|
Ok, looks like Apple obsoleted some APIs:
|
@jonathanpeppers how did you figure you had the change the macios names? |
Probably from our CI artifact names inside the net9.0 branch, I have updated to our latest https://github.com/xamarin/xamarin-macios/commits/release/9.0.1xx-preview7 |
/rebase |
D:\a\_work\1\s\artifacts\obj\Maui.Controls.Sample\Release\net9.0\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Main_razor.g.cs(81,55): error CS0618: 'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.' [D:\a\_work\1\s\src\Controls\samples\Controls.Sample\Maui.Controls.Sample.csproj::TargetFramework=net9.0] D:\a\_work\1\s\artifacts\obj\Maui.Controls.Sample\Release\net9.0-maccatalyst\maccatalyst-x64\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Main_razor.g.cs(81,55): error CS0618: 'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.' [D:\a\_work\1\s\src\Controls\samples\Controls.Sample\Maui.Controls.Sample.csproj::TargetFramework=net9.0-maccatalyst] D:\a\_work\1\s\artifacts\obj\Maui.Controls.Sample\Release\net9.0-android\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Main_razor.g.cs(81,55): error CS0618: 'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.' [D:\a\_work\1\s\src\Controls\samples\Controls.Sample\Maui.Controls.Sample.csproj::TargetFramework=net9.0-android] D:\a\_work\1\s\artifacts\obj\Maui.Controls.Sample\Release\net9.0-tizen\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Main_razor.g.cs(81,55): error CS0618: 'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.' [D:\a\_work\1\s\src\Controls\samples\Controls.Sample\Maui.Controls.Sample.csproj::TargetFramework=net9.0-tizen] D:\a\_work\1\s\artifacts\obj\Maui.Controls.Sample\Release\net9.0-ios\iossimulator-x64\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Main_razor.g.cs(81,55): error CS0618: 'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.' [D:\a\_work\1\s\src\Controls\samples\Controls.Sample\Maui.Controls.Sample.csproj::TargetFramework=net9.0-ios] D:\a\_work\1\s\artifacts\obj\Maui.Controls.Sample\Release\net9.0-windows10.0.20348\win10-x64\intermediatexaml\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Main_razor.g.cs(81,55): error CS0618: 'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.' [D:\a\_work\1\s\src\Controls\samples\Controls.Sample\Maui.Controls.Sample.csproj::TargetFramework=net9.0-windows10.0.20348] D:\a\_work\1\s\artifacts\obj\Maui.Controls.Sample\Release\net9.0-windows10.0.19041\win10-x64\intermediatexaml\Microsoft.CodeAnalysis.Razor.Compiler\Microsoft.NET.Sdk.Razor.SourceGenerators.RazorSourceGenerator\Main_razor.g.cs(81,55): error CS0618: 'Router.PreferExactMatches' is obsolete: 'This property is obsolete and configuring it has not effect.' [D:\a\_work\1\s\src\Controls\samples\Controls.Sample\Maui.Controls.Sample.csproj::TargetFramework=net9.0-windows10.0.19041] 388 Warning(s) 7 Error(s)
These are marked obsolete, but they likely "still work" for now: /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(146,4): error CA1422: This call site is reachable on: 'MacCatalyst' 15.0 and later. 'NetworkReachability.Schedule(CFRunLoop, string)' is obsoleted on: 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-maccatalyst] /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(154,4): error CA1422: This call site is reachable on: 'MacCatalyst' 15.0 and later. 'NetworkReachability.SetNotification(NetworkReachability.Notification)' is obsoleted on: 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-maccatalyst] /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(145,4): error CA1422: This call site is reachable on: 'MacCatalyst' 15.0 and later. 'NetworkReachability.SetNotification(NetworkReachability.Notification)' is obsoleted on: 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-maccatalyst] /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(155,4): error CA1422: This call site is reachable on: 'MacCatalyst' 15.0 and later. 'NetworkReachability.Schedule(CFRunLoop, string)' is obsoleted on: 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-maccatalyst] /Users/builder/azdo/_work/1/s/src/Essentials/src/WebAuthenticator/WebAuthenticator.ios.tvos.cs(75,11): error CA1422: This call site is reachable on: 'MacCatalyst' 12.0 and later. 'ASWebAuthenticationSession' is obsoleted on: 'maccatalyst' 17.4 and later (Use the 'ASWebAuthenticationSessionCallback' overload instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-maccatalyst] /Users/builder/azdo/_work/1/s/src/Essentials/src/HapticFeedback/HapticFeedback.ios.cs(32,17): error CA1422: This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIImpactFeedbackGenerator' is obsoleted on: 'maccatalyst' 17.5 and later (Use 'GetFeedbackGenerator' method instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-maccatalyst] /Users/builder/azdo/_work/1/s/src/Essentials/src/HapticFeedback/HapticFeedback.ios.cs(24,17): error CA1422: This call site is reachable on: 'MacCatalyst' 15.0 and later. 'UIImpactFeedbackGenerator' is obsoleted on: 'maccatalyst' 17.5 and later (Use 'GetFeedbackGenerator' method instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-maccatalyst] /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(155,4): error CA1422: This call site is reachable on: 'iOS' 13.0 and later, 'maccatalyst' 13.0 and later. 'NetworkReachability.Schedule(CFRunLoop, string)' is obsoleted on: 'ios' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.), 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-ios] /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(154,4): error CA1422: This call site is reachable on: 'iOS' 13.0 and later, 'maccatalyst' 13.0 and later. 'NetworkReachability.SetNotification(NetworkReachability.Notification)' is obsoleted on: 'ios' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.), 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-ios] /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(145,4): error CA1422: This call site is reachable on: 'iOS' 13.0 and later, 'maccatalyst' 13.0 and later. 'NetworkReachability.SetNotification(NetworkReachability.Notification)' is obsoleted on: 'ios' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.), 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-ios] /Users/builder/azdo/_work/1/s/src/Essentials/src/Connectivity/Connectivity.ios.tvos.macos.reachability.cs(146,4): error CA1422: This call site is reachable on: 'iOS' 13.0 and later, 'maccatalyst' 13.0 and later. 'NetworkReachability.Schedule(CFRunLoop, string)' is obsoleted on: 'ios' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.), 'maccatalyst' 17.4 and later (Use 'NSUrlSession' or 'NWConnection' instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-ios] /Users/builder/azdo/_work/1/s/src/Essentials/src/HapticFeedback/HapticFeedback.ios.cs(24,17): error CA1422: This call site is reachable on: 'iOS' 13.0 and later, 'maccatalyst' 13.0 and later. 'UIImpactFeedbackGenerator' is obsoleted on: 'ios' 17.5 and later (Use 'GetFeedbackGenerator' method instead.), 'maccatalyst' 17.5 and later (Use 'GetFeedbackGenerator' method instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-ios] /Users/builder/azdo/_work/1/s/src/Essentials/src/HapticFeedback/HapticFeedback.ios.cs(32,17): error CA1422: This call site is reachable on: 'iOS' 13.0 and later, 'maccatalyst' 13.0 and later. 'UIImpactFeedbackGenerator' is obsoleted on: 'ios' 17.5 and later (Use 'GetFeedbackGenerator' method instead.), 'maccatalyst' 17.5 and later (Use 'GetFeedbackGenerator' method instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-ios] /Users/builder/azdo/_work/1/s/src/Essentials/src/WebAuthenticator/WebAuthenticator.ios.tvos.cs(75,11): error CA1422: This call site is reachable on: 'iOS' 12.0 and later, 'maccatalyst' 13.0 and later. 'ASWebAuthenticationSession' is obsoleted on: 'ios' 17.4 and later (Use the 'ASWebAuthenticationSessionCallback' overload instead.), 'maccatalyst' 17.4 and later (Use the 'ASWebAuthenticationSessionCallback' overload instead.). (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/quality-rules/ca1422) [/Users/builder/azdo/_work/1/s/src/Essentials/src/Essentials.csproj::TargetFramework=net9.0-ios] 0 Warning(s) 14 Error(s)
12fc5a3
to
395d3bc
Compare
@dalexsoto I reverted your last commit as it wasn't able to find the versions. |
@Eilon Can you point to the specific warnings? |
713f135
to
bf5e0c0
Compare
Description of Change
Updated via
darc update-dependencies --channel ".NET 9 Preview 7"