8f0ca7508a
In the latest .NET 6, our Workloads.targets is imported earlier in the build. This requires a few changes, because we still need to run most of our logic later in the process, which we do by adding targets files we want imported later to the AfterMicrosoftNETSdkTargets property. What we're loading as soon as possible: * Our version information (Xamarin.Shared.Sdk.Versions.targets) * The supported OS versions (Microsoft.<platform>.Sdk.SupportedTargetPlatforms.targets) * The default OS version (Xamarin.Shared.Sdk.TargetFrameworkInference.targets). This is all information that the .NET build require early on. Changes: * Rename all files that are loaded early to *.props. * Updated documentations to reflect these changes. * Remove Microsoft.<platform>.TargetFrameworkInference.targets, these files aren't used and don't contain anything useful. * Move the logic to calculate _ComputedTargetFrameworkMoniker has been delayed to later, because it needs TargetFrameworkMoniker set. |
||
---|---|---|
.. | ||
AutoImport.props | ||
Sdk.props |