Description
Looks like #25993 doesn't quite work correctly. Both locally and on CI, I get:
D:\.nuget\packages\microsoft.maui.core\9.0.21\buildTransitive\Microsoft.Maui.Core.After.targets(30,5): error MA003: The current .NET MAUI package version '9.0.21' requires the .NET MAUI workload version to be at least '9.0.0'. The current .NET MAUI workload version is '8.0.83'.
Even though the required workload is installed and up-to-date:
Installed Workload Id Manifest Version Installation Source
-----------------------------------------------------------------------------------------------------
android 35.0.24/9.0.100 SDK 9.0.100, VS 17.12.35527.113, VS 17.13.35605.110
aspire 8.2.2/8.0.100 SDK 9.0.100, VS 17.12.35527.113
ios 18.1.9163/9.0.100 SDK 9.0.100, VS 17.12.35527.113, VS 17.13.35605.110
maccatalyst 18.1.9163/9.0.100 SDK 9.0.100, VS 17.12.35527.113, VS 17.13.35605.110
macos 15.1.9163/9.0.100 SDK 9.0.100, VS 17.13.35605.110
maui-windows 9.0.0/9.0.100 SDK 9.0.100, VS 17.12.35527.113, VS 17.13.35605.110
wasm-tools 9.0.0/9.0.100 SDK 9.0.100, VS 17.12.35527.113
Steps to Reproduce
Build any MAUI project targeting 9.0.21
Link to public reproduction project repository
No response
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.14 SR1.4
Affected platforms
iOS, Windows, Android
Affected platform versions
No response
Did you find any workaround?
<SkipCheckForMauiMinimumSupportedWorkloadVersion>true</SkipCheckForMauiMinimumSupportedWorkloadVersion>
Relevant log output
Description
Looks like #25993 doesn't quite work correctly. Both locally and on CI, I get:
D:\.nuget\packages\microsoft.maui.core\9.0.21\buildTransitive\Microsoft.Maui.Core.After.targets(30,5): error MA003: The current .NET MAUI package version '9.0.21' requires the .NET MAUI workload version to be at least '9.0.0'. The current .NET MAUI workload version is '8.0.83'.Even though the required workload is installed and up-to-date:
Steps to Reproduce
Build any MAUI project targeting 9.0.21
Link to public reproduction project repository
No response
Version with bug
9.0.21 SR2.1
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
9.0.14 SR1.4
Affected platforms
iOS, Windows, Android
Affected platform versions
No response
Did you find any workaround?
<SkipCheckForMauiMinimumSupportedWorkloadVersion>true</SkipCheckForMauiMinimumSupportedWorkloadVersion>Relevant log output