xamarin-macios/dotnet
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
..
Microsoft.MacCatalyst.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Microsoft.iOS.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Microsoft.iOS.Windows.Sdk Import .NET 6 property page targets path in iOS sdk targets (#12556) 2021-08-27 12:17:06 +02:00
Microsoft.macOS.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Microsoft.tvOS.Sdk [dotnet] Update logic for default global namespaces and fix the templates. Fixes #12457. (#12471) 2021-08-19 07:47:03 +02:00
Templates [dotnet/Templates] Add preview language (#12965) 2021-10-11 08:00:01 +02:00
Workloads [CI] Update SignList.xml to fix publishing 2021-10-20 21:46:13 -04:00
package [dotnet] Remove watchOS code and from our .NET support. (#12764) 2021-09-20 07:40:03 +02:00
targets [msbuild/dotnet] Build the Xamarin.PreBuilt.iOS app bundle. Fixes #12945. (#13342) 2021-11-12 07:38:07 +01:00
.gitignore [dotnet] use **FromWorkload** for targeting/runtime pack versions (#12449) 2021-08-19 09:03:11 +02:00
BreakingChanges.md [.NET] Move the nfloat type to the ObjCRuntime namespace for .NET. (#13092) 2021-10-28 11:06:31 +02:00
DefaultCompilationIncludes.md [dotnet] Remove watchOS code and from our .NET support. (#12764) 2021-09-20 07:40:03 +02:00
HIERARCHY.md [dotnet] Add support for 'dotnet publish'. Fixes #11807. (#12397) 2021-08-11 10:01:16 +02:00
Makefile [msbuild/dotnet] Build the Xamarin.PreBuilt.iOS app bundle. Fixes #12945. (#13342) 2021-11-12 07:38:07 +01:00
PackageInfo.plist Fix typos in comments. 2020-10-19 10:38:11 +02:00
SingleProject.md [dotnet] rename $(AppleShortVersion) to $(ApplicationDisplayVersion) (#12647) 2021-09-08 10:13:29 -04:00
VERSIONS.md Rename master to main. (#8851) 2020-06-16 15:51:44 +02:00
build-custom-runtime.sh [configure] Add option to use a locally built dotnet/runtime. (#11643) 2021-05-21 22:18:25 +02:00
generate-target-platforms.csharp Bump to .NET 5.0.100-rc.2.20459.1 (#9758) 2020-10-02 08:31:38 +02:00
generate-wix.csharp [dotnet] Package the workloads in a Windows installer (.msi) as well. (#9979) 2020-10-28 11:09:55 +01:00