xamarin-macios/msbuild
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
..
Messaging/Xamarin.Messaging.Build Updated Xamarin.Messaging version (#13145) 2021-10-28 17:00:14 +02:00
Xamarin.HotRestart.PreBuilt [msbuild/dotnet] Build the Xamarin.PreBuilt.iOS app bundle. Fixes #12945. (#13342) 2021-11-12 07:38:07 +01:00
Xamarin.Localization.MSBuild Localized file check-in by OneLocBuild Task: Build definition ID 14411: Build ID 5419189 (#13301) 2021-11-08 14:22:09 -05:00
Xamarin.Mac.Tasks [msbuild] Share the CompileEntitlements task implementation between iOS and macOS. (#12946) 2021-10-07 08:17:50 +02:00
Xamarin.Mac.Tasks.Core [msbuild] Share the ALToolUpload and ALToolValidate task implementations between iOS and macOS. (#12852) 2021-09-28 17:38:51 +02:00
Xamarin.MacDev.Tasks [msbuild] Share the CompileEntitlements task implementation between iOS and macOS. (#12946) 2021-10-07 08:17:50 +02:00
Xamarin.MacDev.Tasks.Core [msbuild] Rename ResolveFrameworksBase.cs to ResolveNativeReferencesBase.cs (#12943) 2021-10-07 08:18:16 +02:00
Xamarin.ObjcBinding.Tasks [msbuild] Remove support for XI/Classic. (#976) 2016-10-13 10:47:46 +02:00
Xamarin.Shared [msbuild] Create the directory for the .stamp file for the _CreateBindingResourcePackage target before trying to create the .stamp file. (#13179) 2021-10-29 18:34:01 +02:00
Xamarin.iOS.Tasks [msbuild] Share the CompileEntitlements task implementation between iOS and macOS. (#12946) 2021-10-07 08:17:50 +02:00
Xamarin.iOS.Tasks.Core [net6] Fix ILStrip'ed apps to actually work again (#13098) 2021-10-25 11:31:42 -05:00
Xamarin.iOS.Tasks.Windows Updated Hot Restart client package (#13029) 2021-10-20 07:45:34 +02:00
.gitignore [msbuild] Sign Xamarin.iOS.Tasks.dll and Xamarin.Mac.Tasks.dll. Fixes #9835. (#12831) 2021-09-28 17:31:35 +02:00
Directory.Build.props Updated Xamarin.Messaging version (#13145) 2021-10-28 17:00:14 +02:00
ILMerge.targets [msbuild] Add ILStrip'ing for net6 applications. Fixes #11445. (#12563) 2021-10-05 09:43:22 -05:00
Makefile [msbuild/dotnet] Build the Xamarin.PreBuilt.iOS app bundle. Fixes #12945. (#13342) 2021-11-12 07:38:07 +01:00
Xamarin.MacDev.Tasks.sln [dotnet] Revert changes that separate Messaging from Xamarin.iOS.Tasks to fix dotnet build (#10738) 2021-03-01 08:05:01 +01:00