KEMBAR78
[msbuild] Fix PartialAppManifests from library projects with incremental builds. by rolfbjarne · Pull Request #23865 · dotnet/macios · GitHub
Skip to content

Conversation

@rolfbjarne
Copy link
Member

  1. Any PartialAppManifest items library projects are embedded into the library
    as a resource.
  2. Such resources are extracted from the library when referenced in an
    executable project, and the PartialAppManifest item group (for the
    executable project) is populated with these items.
  3. The extraction target ("_UnpackLibraryResources") supports incremental
    builds: it's only executed if the library didn't change since the last
    build.
  4. We still need to populate the PartialAppManifest item group even if the
    extraction target didn't execute.

So implement support for storing the list of extracted PartialAppManifest
items to disk, and then reloading that list even if the extraction target
wasn't executed.

…tal builds.

1. Any PartialAppManifest items library projects are embedded into the library
   as a resource.
2. Such resources are extracted from the library when referenced in an
   executable project, and the PartialAppManifest item group (for the
   executable project) is populated with these items.
3. The extraction target ("_UnpackLibraryResources") supports incremental
   builds: it's only executed if the library didn't change since the last
   build.
4. We still need to populate the PartialAppManifest item group even if the
   extraction target didn't execute.

So implement support for storing the list of extracted PartialAppManifest
items to disk, and then reloading that list even if the extraction target
wasn't executed.
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [PR Build #f6fa9ff] Build passed (Detect API changes) ✅

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #f6fa9ff] Build passed (Build packages) ✅

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ API diff for current PR / commit

NET (empty diffs)

✅ API diff vs stable

NET (empty diffs)

ℹ️ Generator diff

Generator Diff: vsdrops (html) vsdrops (raw diff) gist (raw diff) - Please review changes)

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #f6fa9ff] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #f6fa9ff] Tests on macOS X64 - Mac Sonoma (14) passed 💻

All tests on macOS X64 - Mac Sonoma (14) passed.

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #f6fa9ff] Tests on macOS arm64 - Mac Sequoia (15) passed 💻

All tests on macOS arm64 - Mac Sequoia (15) passed.

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #f6fa9ff] Tests on macOS M1 - Mac Monterey (12) passed 💻

All tests on macOS M1 - Mac Monterey (12) passed.

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #f6fa9ff] Tests on macOS arm64 - Mac Tahoe (26) passed 💻

All tests on macOS arm64 - Mac Tahoe (26) passed.

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

💻 [CI Build #f6fa9ff] Tests on macOS M1 - Mac Ventura (13) passed 💻

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

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@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.

@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.

@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.

@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.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🚀 [CI Build #f6fa9ff] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 115 tests passed 🎉

Tests counts

✅ cecil: All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (iOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (MacCatalyst): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (macOS): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (Multiple platforms): All 1 tests passed. Html Report (VSDrops) Download
✅ dotnettests (tvOS): All 1 tests passed. Html Report (VSDrops) Download
✅ framework: All 2 tests passed. Html Report (VSDrops) Download
✅ fsharp: All 4 tests passed. Html Report (VSDrops) Download
✅ generator: All 5 tests passed. Html Report (VSDrops) Download
✅ interdependent-binding-projects: All 4 tests passed. Html Report (VSDrops) Download
✅ introspection: All 4 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. [attempt 7] Html Report (VSDrops) Download
✅ monotouch (iOS): All 8 tests passed. [attempt 17] Html Report (VSDrops) Download
✅ monotouch (MacCatalyst): All 11 tests passed. Html Report (VSDrops) Download
✅ monotouch (macOS): All 9 tests passed. Html Report (VSDrops) Download
✅ monotouch (tvOS): All 8 tests passed. Html Report (VSDrops) Download
✅ msbuild: All 2 tests passed. Html Report (VSDrops) Download
✅ windows: All 3 tests passed. Html Report (VSDrops) Download
✅ xcframework: All 4 tests passed. [attempt 8] Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: f6fa9ffc948240277800dc3ade088e86d1b7e4d0 [PR build]

@rolfbjarne rolfbjarne merged commit 9f2f588 into main Sep 23, 2025
45 checks passed
@rolfbjarne rolfbjarne deleted the dev/rolf/fix-incremental-partial-app-manifests branch September 23, 2025 05:34
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.

4 participants