Skip to content

[NativeAOT] Do not root platform assembly#18885

Merged
rolfbjarne merged 2 commits intodotnet:net8.0from
simonrozsival:remove-rooting-platform-assembly
Sep 7, 2023
Merged

[NativeAOT] Do not root platform assembly#18885
rolfbjarne merged 2 commits intodotnet:net8.0from
simonrozsival:remove-rooting-platform-assembly

Conversation

@simonrozsival
Copy link
Member

Closes #18779

Based on testing several MAUI samples, there doesn't seem to be a reason to root the whole platform assembly anymore.

Copy link
Member

@ivanpovazan ivanpovazan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

PS Additionally this would also complete #18584

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@simonrozsival simonrozsival marked this pull request as ready for review August 31, 2023 10:23
@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2

This comment has been minimized.

@simonrozsival
Copy link
Member Author

The MonoTouchFixtures.ARKit.ARConfigurationTest.Subclasses test (#5348) is failing: https://github.com/xamarin/xamarin-macios/blob/cd69385d41a8e292fc58e24ade1b38c0fb9e4a41/tests/monotouch-test/ARKit/ARConfigurationTest.cs#L50-L62

I think this can be expected when we don't root the whole assembly. I'm not sure what the correct fix is and if this test is even necessary in the NativeAOT configuration 🤔

@rolfbjarne
Copy link
Member

The MonoTouchFixtures.ARKit.ARConfigurationTest.Subclasses test (#5348) is failing:

https://github.com/xamarin/xamarin-macios/blob/cd69385d41a8e292fc58e24ade1b38c0fb9e4a41/tests/monotouch-test/ARKit/ARConfigurationTest.cs#L50-L62

I think this can be expected when we don't root the whole assembly. I'm not sure what the correct fix is and if this test is even necessary in the NativeAOT configuration 🤔

This should fix it: #18908

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build] Windows Integration Tests passed 💻

All Windows Integration Tests passed.

Pipeline on Agent
Hash: 0028b0c067e543a8fd77eaa70dc5437ea4767539 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

📚 [PR Build] Artifacts 📚

Packages generated

View packages

Pipeline on Agent
Hash: [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [PR Build] Tests on macOS M1 - Mac Ventura (13.0) passed 💻

All tests on macOS M1 - Mac Ventura (13.0) passed.

Pipeline on Agent
Hash: [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [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
Hash: [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🔥 Failed to compare API and create generator diff 🔥

Failed to run apidiff

Pipeline on Agent
Hash: 0028b0c067e543a8fd77eaa70dc5437ea4767539 [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🚀 [CI Build] Test results 🚀

Test results

✅ All tests passed on VSTS: simulator tests.

🎉 All 233 tests passed 🎉

Tests counts

✅ bcl: All 69 tests passed. Html Report (VSDrops) Download
✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests: All 1 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 7 tests passed. Html Report (VSDrops) Download
✅ framework: All 8 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ generator: All 2 tests passed. Html Report (VSDrops) Download
✅ interdependent_binding_projects: All 7 tests passed. Html Report (VSDrops) Download
✅ install_source: All 1 tests passed. Html Report (VSDrops) Download
✅ introspection: All 8 tests passed. Html Report (VSDrops) Download
✅ linker: All 65 tests passed. Html Report (VSDrops) Download
✅ mac_binding_project: All 1 tests passed. Html Report (VSDrops) Download
✅ mmp: All 2 tests passed. Html Report (VSDrops) Download
✅ mononative: All 6 tests passed. Html Report (VSDrops) Download
✅ monotouch: All 39 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ mtouch: All 1 tests passed. Html Report (VSDrops) Download
✅ xammac: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 8 tests passed. Html Report (VSDrops) Download
✅ xtro: All 2 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: 0028b0c067e543a8fd77eaa70dc5437ea4767539 [PR build]

@rolfbjarne rolfbjarne linked an issue Sep 7, 2023 that may be closed by this pull request
@rolfbjarne rolfbjarne merged commit aef2c91 into dotnet:net8.0 Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NativeAOT: Do not root the framework assembly

4 participants