Skip to content

Conversation

@rolfbjarne
Copy link
Member

This hopefully fixes a problem where the build would run into MAX_PATH issues
on Windows, because now we won't be extracting any xcframework files on
Windows at all.

Also:

  • Change the default to always create compressed binding resource packages.
    This will ensure NuGets will successfully extract on Windows, because
    they'll contain the compressed binding resource package, instead of the
    individual files.
  • Speed up the ResolveNativeReferences task:
    • Only run it if there's anything to do.
    • Only pass paths that contain references to resolve - this will speed up
      the build on Windows, because it massively reduces the amount of files
      that have to be transferred to the remote mac.

Fixes #23346.

…23346.

Also change the default to always create compressed binding resource packages.

Fixes #23346.
* Only run it if there's anything to do.
* Only pass paths that contain references to resolve - this will speed up the build
  on Windows, because it massively reduces the amount of files that have to be transferred
  to the remote mac.
@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.

@rolfbjarne rolfbjarne enabled auto-merge (squash) September 19, 2025 15:19
@rolfbjarne rolfbjarne disabled auto-merge September 19, 2025 15:22
@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.

rolfbjarne and others added 4 commits September 23, 2025 12:21
Always create an entry for directories when creating a zip file.

This is what the 'zip' command line tool does, and we also depend on the directory
to be in the zip file.
@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.

@rolfbjarne rolfbjarne requested review from dalexsoto and mauroa October 8, 2025 14:17
@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #70ddd18] Build passed (Build packages) ✅

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [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: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #70ddd18] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@vs-mobiletools-engineering-service2

This comment has been minimized.

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🚀 [CI Build #70ddd18] Test results 🚀

Test results

✅ All tests passed on VSTS: test results.

🎉 All 117 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 6 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. [attempt 2] Html Report (VSDrops) Download
✅ monotouch (iOS): All 8 tests passed. 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 2] Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: 70ddd182498b4d8c2aab87c157dcfcae2649605a [PR build]

@rolfbjarne rolfbjarne merged commit 2321e01 into net10.0 Oct 9, 2025
45 checks passed
@rolfbjarne rolfbjarne deleted the dev/rolf/unzip-remotely-only-net10.0 branch October 9, 2025 22:17
@velocitysystems
Copy link

This looks great @rolfbjarne. Will this also be back-ported to .NET 9?

@rolfbjarne
Copy link
Member Author

This looks great @rolfbjarne. Will this also be back-ported to .NET 9?

That's unlikely at this point, it's a somewhat invasive/risky change.

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.

6 participants