Skip to content

Conversation

@mthalman
Copy link
Member

Contributes to dotnet/source-build#3043

This required updating the relevant command-line-api projects to use $(NetCurrent) (net8.0) instead of net7.0 to avoid prebuilts. Backported changes at dotnet/command-line-api#2150.

Backport: https://github.com/dotnet/command-line-api/pull/2150
---
Directory.Build.props | 6 +++---
.../System.CommandLine.Benchmarks.csproj | 4 ++--
Copy link
Member

Choose a reason for hiding this comment

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

To make sure I understand what is happening correctly, dotnet/command-line-api#2150 includes serveral csproj msbuild property changes that are not included in this patch. I am assuming none of those projects are source-built. Excluding them here helps keeps the patch to a minimal which decreases the likelihood of patch conflicts.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, exactly. I didn't patch any of the test projects nor the System.CommandLine.Suggest project since none of those are targeted by source-build. The patch also differs (in context) from the changes in dotnet/command-line-api#2150 because it is based on a much older commit of the command-line-api repo that is referenced in the VMR.

@mthalman mthalman merged commit eb8fffd into dotnet:main Apr 13, 2023
@mthalman mthalman deleted the pvp-command-line-api branch April 13, 2023 19:52
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