Skip to content

Conversation

@rolfbjarne
Copy link
Member

@rolfbjarne rolfbjarne commented Dec 15, 2025

They're not necessary anymore (and probably hasn't been for years).

They're not necessary anymore (and probably hasn't for years).
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR removes the obsolete SdkBinPath and SdkUsrPath MSBuild properties that are no longer necessary for building Apple platform projects. These properties previously tracked SDK binary and user paths, but modern Xcode builds no longer require these to be set explicitly as environment variables.

Key Changes

  • Removed SdkBinPath and SdkUsrPath properties from MSBuild task classes
  • Removed associated environment variable assignments (PATH and XCODE_DEVELOPER_USR_PATH)
  • Cleaned up error messages for validation of these now-removed paths

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
msbuild/Xamarin.MacDev.Tasks/Tasks/XcodeTool.cs Removed SdkBinPath and SdkUsrPath required properties and their environment variable assignments
msbuild/Xamarin.MacDev.Tasks/Tasks/XcodeCompilerToolTask.cs Removed SdkBinPath and SdkUsrPath properties and conditional environment variable assignments
msbuild/Xamarin.MacDev.Tasks/Tasks/DetectSdkLocation.cs Removed output properties and validation logic for SDK bin/usr paths
msbuild/Xamarin.Shared/Xamarin.Shared.targets Removed property bindings from IBTool, ACTool, and TextureAtlas task invocations
tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/IBToolTaskTests.cs Removed test code that computed and assigned the obsolete properties
tests/msbuild/Xamarin.MacDev.Tasks.Tests/TaskTests/ACToolTaskTest.cs Removed test code that computed and assigned the obsolete properties
msbuild/Xamarin.Localization.MSBuild/MSBStrings.resx Marked error message strings E0032 and E0085 as no longer used

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #9df603c] Build passed (Build packages) ✅

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

@vs-mobiletools-engineering-service2
Copy link
Collaborator

✅ [CI Build #9df603c] Build passed (Build macOS tests) ✅

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

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

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

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@vs-mobiletools-engineering-service2
Copy link
Collaborator

🚀 [CI Build #9df603c] 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 4 tests passed. Html Report (VSDrops) Download
✅ linker: All 44 tests passed. Html Report (VSDrops) Download
✅ monotouch (iOS): All 9 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 9 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. Html Report (VSDrops) Download
✅ xtro: All 1 tests passed. Html Report (VSDrops) Download

Pipeline on Agent
Hash: 9df603c615cee5fc2076b4e7010e625bd0ecb640 [PR build]

@rolfbjarne rolfbjarne marked this pull request as ready for review December 16, 2025 19:29
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.

3 participants