Skip to content

Conversation

@kotlarmilos
Copy link
Member

Description

This PR fixes condition checks for Crossgen2 in AppleBuild.props.

The imported project "/__w/1/s/artifacts/bin/Crossgen2Tasks/Checked/net10.0/Microsoft.NET.CrossGen.props" was not found.

Copilot AI review requested due to automatic review settings December 8, 2025 15:46
@kotlarmilos kotlarmilos self-assigned this Dec 8, 2025
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 adds Exists() checks to the conditions for importing Crossgen2 SDK override files in the Apple build props, preventing MSBuild errors when these optional files are not present.

  • Adds Exists() guard to Crossgen2SdkOverridePropsPath import condition
  • Adds Exists() guard to Crossgen2SdkOverrideTargetsPath property condition

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants