xamarin-macios/dotnet/targets
Rolf Bjarne Kvinge ab5bf2faba
[msbuild/dotnet] Build the Xamarin.PreBuilt.iOS app bundle. Fixes #12945. (#13342)
Build the Xamarin.PreBuilt.iOS app bundle instead of using a prebuilt bundle.

This makes sure that we're always using the latest BCL.

Some accurate build massaging was needed, because:

* To build the prebuilt app we need the iOS workload installed (into our build-local
  .NET installation).
* The iOS workload contains the Microsoft.iOS.Windows.Sdk pack.
* The Microsoft.iOS.Windows.Sdk pack contains the prebuilt app.

Thus we had a circular reference. Fortunately, the Microsoft.iOS.Windows.Sdk pack
is only required on Windows, which means we can break this circular reference by:

* Mark Microsoft.iOS.Windows.Sdk pack as only to be installed on Windows (unfortunately
  it seems we have to list the exact runtime identifiers for the platforms where
  to install the pack, so we can't do something like "win-*", but new variations
  of the "win-*" runtime identifier shouldn't show up all that often).
* Build the prebuilt app on macOS.

This way we don't need the Microsoft.iOS.Windows.Sdk pack when installing the iOS
workload locally.

The .NET build order is now:

* Build general sdk, runtime and ref packs for .NET.
* Build the prebuilt app.
* Build the Microsoft.iOS.Windows.Sdk pack.

Fixes https://github.com/xamarin/xamarin-macios/issues/12945.
2021-11-12 07:38:07 +01:00
..
.gitignore [dotnet] Templateify some build logic. (#10618) 2021-02-11 20:17:12 +01:00
Microsoft.MacCatalyst.Sdk.ImplicitNamespaceImports.props [dotnet] add %(Platform) to any global @(Using) (#13196) 2021-11-02 07:37:58 +01:00
Microsoft.Sdk.DefaultItems.template.props [msbuild/dotnet] Include font files by default in .NET apps, and implement a way to automatically register them. Fixes #12536. (#12752) 2021-09-17 10:18:09 +02:00
Microsoft.Sdk.Versions.template.props [dotnet] Templateify some build logic. (#10618) 2021-02-11 20:17:12 +01:00
Microsoft.iOS.Sdk.ImplicitNamespaceImports.props [dotnet] add %(Platform) to any global @(Using) (#13196) 2021-11-02 07:37:58 +01:00
Microsoft.macOS.Sdk.ImplicitNamespaceImports.props [dotnet] add %(Platform) to any global @(Using) (#13196) 2021-11-02 07:37:58 +01:00
Microsoft.tvOS.Sdk.ImplicitNamespaceImports.props [dotnet] add %(Platform) to any global @(Using) (#13196) 2021-11-02 07:37:58 +01:00
WorkloadManifest.MacCatalyst.template.json [dotnet] Add runtime packs to workload manifests (#12168) 2021-07-22 10:41:40 +02:00
WorkloadManifest.iOS.template.json [msbuild/dotnet] Build the Xamarin.PreBuilt.iOS app bundle. Fixes #12945. (#13342) 2021-11-12 07:38:07 +01:00
WorkloadManifest.macOS.template.json [dotnet] Add runtime packs to workload manifests (#12168) 2021-07-22 10:41:40 +02:00
WorkloadManifest.tvOS.template.json [dotnet] Add runtime packs to workload manifests (#12168) 2021-07-22 10:41:40 +02:00
Xamarin.Shared.Sdk.DefaultItems.targets [dotnet] Enable default compile items for binding projects. Fixes #12532. (#12758) 2021-09-20 13:41:20 +02:00
Xamarin.Shared.Sdk.Publish.targets [dotnet] Add support for 'dotnet publish'. Fixes #11807. (#12397) 2021-08-11 10:01:16 +02:00
Xamarin.Shared.Sdk.TargetFrameworkInference.props [dotnet] Normalize the casing of the 'TargetPlatformIdentifier' value on Mac Catalyst. (#10617) 2021-02-11 20:19:36 +01:00
Xamarin.Shared.Sdk.props [net6][msbuild] Set SelfContained for AppExtensions sooner to fix publishing (#12703) 2021-09-20 09:40:41 -05:00
Xamarin.Shared.Sdk.targets [net6] Fix ILStrip'ed apps to actually work again (#13098) 2021-10-25 11:31:42 -05:00