Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make NativeAOT tests buildable again. #35558

Merged
merged 2 commits into from
Feb 3, 2025
Merged

Conversation

cincuranet
Copy link
Contributor

@cincuranet cincuranet commented Jan 31, 2025

This PR makes sure that our NativeAOT tests can be execute again.

With the switch to CPM, the generated csproj was not right. This changes the logic to not use CPM (to not have collisions with global packages) and explicitly take the versions from PackageVersion (with a little bit of MSBuild dance) which gets constructed during the (first) build. With this correct csproj gets generated.

@cincuranet cincuranet requested review from a team and Copilot January 31, 2025 07:25

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

Files not reviewed (2)
  • eng/testing/linker/project.csproj.template: Language not supported
  • eng/testing/linker/trimmingTests.targets: Language not supported
@cincuranet cincuranet enabled auto-merge (squash) January 31, 2025 07:28
@cincuranet cincuranet merged commit 4fd85cc into dotnet:main Feb 3, 2025
7 checks passed
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.

2 participants