-
Notifications
You must be signed in to change notification settings - Fork 519
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[release/7.0.3xx-multi-targeting] [dotnet] Add support for multi-targeting. #18896
[release/7.0.3xx-multi-targeting] [dotnet] Add support for multi-targeting. #18896
Conversation
We're going to change the pack names to support multi-targeting, so ahead of the pack name change I'm changing the existing logic to use a variable for the pack name in most places (this will make the rename much easier and simpler). These changes should have no effect by themselves. Backport of #18732.
…sdks to determine the sdk to load.
…ironment variables. Setting test configuration variables using the environment is useful when running tests on a Windows machine (easier than having to deal with make). Also refactor the code a bit to not use constants, and more consistent naming. Backport of #18738.
💻 [CI Build] Windows Integration Tests passed 💻✅ All Windows Integration Tests passed. Pipeline on Agent |
✅ API diff for current PR / commitNET (empty diffs)
✅ API diff vs stable.NET (No breaking changes)✅ Generator diffGenerator diff is empty Pipeline on Agent |
💻 [PR Build] Tests on macOS M1 - Mac Big Sur (11.5) passed 💻✅ All tests on macOS M1 - Mac Big Sur (11.5) passed. Pipeline on Agent |
💻 [PR Build] Tests on macOS M1 - Mac Ventura (13.0) passed 💻✅ All tests on macOS M1 - Mac Ventura (13.0) passed. Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🚀 [CI Build] Test results 🚀Test results✅ All tests passed on VSTS: simulator tests. 🎉 All 79 tests passed 🎉 Tests counts
Pipeline on Agent |
Multi targetting is described here: /~https://github.com/xamarin/xamarin-macios/blob/main/docs/multi-target-framework.md
This PR implements support building using the latest .NET 7 packages we're
shipping, by specifying the OS version in the target framework.
It does so by:
Renaming the ref, sdk and runtime packs to contain the target framework and
the target platfrom version, so the packages will now be named:
iOS
tvOS
Mac Catalyst
macOS
Note that the workloads are also updated in this PR.
Contributes towards:
net7.0-ios
+net6.0-ios
packages forces consumers to build with net7 workloads sdk#30103.This PR is best reviewed commit-by-commit.