[DRAFT] [net11.0] [tools] Add trimmable static registrar.#25105
[DRAFT] [net11.0] [tools] Add trimmable static registrar.#25105rolfbjarne wants to merge 17 commits intonet11.0from
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This makes it easier to navigate a generated project file in VSCode, since the files are located in folders instead of one potentially enormous list (the platform assemblies have thousands of source files).
--------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
As opposed to hanging the entire test suite (and then getting aborted) if something goes wrong. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* Enable nullability and fix any issues. * Upgrade to NUnit v4. * Move code from tests/generator to tests/bgen to have everything in the same directory. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…ed in multi-RID builds. Fixes #25053. (#25065) In multi-RID (universal) builds, the outer build saves all Content and BundleResource items to processed-items files, and inner builds remove them. However, items with PublishFolderType are not actually processed by CollectBundleResources (it skips them) — they're handled via ResolvedFileToPublish instead. By incorrectly saving them as processed, the inner builds remove them before they can be added to ResolvedFileToPublish, so they never end up in the app bundle. Fix by filtering out items with PublishFolderType when writing the processed-items files. Fixes #25053. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…25106) This also revealed a couple of other issues: * Fix an issue stripping dylibs by passing the correct arguments to `strip` (fixes dotnet/runtime#124570). * Fix an issue running dsymutil on universal apps. --------- Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
…cts. This makes it possible to debug macOS projects in VSCode (by manually adding a launch profile). Ref: microsoft/vscode-dotnettools#549
…-type-map-net11.0
7a8692a to
abec578
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
✅ [CI Build #81f6f24] Build passed (Build packages) ✅Pipeline on Agent |
✅ [PR Build #81f6f24] Build passed (Detect API changes) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
✅ API diff for current PR / commitNET (empty diffs)✅ API diff vs stableNET (empty diffs)ℹ️ Generator diffGenerator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes) Pipeline on Agent |
✅ [CI Build #81f6f24] Build passed (Build macOS tests) ✅Pipeline on Agent |
This comment has been minimized.
This comment has been minimized.
🔥 [CI Build #81f6f24] Test results 🔥Test results❌ Tests failed on VSTS: test results 0 tests crashed, 13 tests failed, 158 tests passed. Failures❌ dotnettests tests (iOS)1 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download ❌ dotnettests tests (MacCatalyst)1 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download ❌ dotnettests tests (macOS)1 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download ❌ dotnettests tests (tvOS)1 tests failed, 0 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (iOS)2 tests failed, 15 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (MacCatalyst)3 tests failed, 19 tests passed.Failed tests
Html Report (VSDrops) Download ❌ monotouch tests (tvOS)2 tests failed, 15 tests passed.Failed tests
Html Report (VSDrops) Download ❌ windows tests2 tests failed, 1 tests passed.Failed tests
Html Report (VSDrops) Download Successes✅ cecil: All 1 tests passed. Html Report (VSDrops) Download macOS tests✅ Tests on macOS Sonoma (14): All 5 tests passed. Html Report (VSDrops) Download Linux Build VerificationPipeline on Agent |
Ignore this PR, it's only to test behavior once merged into net11.0.