-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add options for specifying a minimum workload version requirement (#2…
…5993) * Add a MSBuild for bad installs If we detect that you have installed .NET MAUI into a TFM which is not found in the package, then we will fail the build. The error code is MA003 and there is a property to skip this warning as well: Errors will look like: - error MA003: This version of .NET MAUI requires at least a TargetFramework of 'net9.0-windows10.0.19041.0', which is greater than the current TargetFramework 'net8.0-windows10.0.19041.0'. - error MA003: This version of .NET MAUI requires at least a TargetFramework of 'net9.0-ios', which is greater than the current TargetFramework 'net8.0-ios'. - error MA003: This version of .NET MAUI requires at least a TargetFramework of 'net9.0-maccatalyst17.0', which is greater than the current TargetFramework 'net8.0-maccatalyst17.0'. * Workload versions are better * $(MauiWorkloadVersion) may not be defined This happens mostly in the maui repo, but also may happen if the build is not using workloads. This is not really possible outside of the maui repo source build. * props * Add a test
- Loading branch information
1 parent
d3bb77c
commit c97464a
Showing
9 changed files
with
73 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
src/Core/src/nuget/buildTransitive/Microsoft.Maui.Core.BundledVersions.in.targets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters