Skip to content

Update System.CommandLine version - #21321

Merged
sfoslund merged 13 commits into
mainfrom
sfoslund/SystemCommandLineUpdates
Oct 25, 2021
Merged

sfoslund merged 13 commits into
mainfrom
sfoslund/SystemCommandLineUpdates

Conversation

@sfoslund

@sfoslund sfoslund commented Sep 23, 2021 •

Copy link
Copy Markdown
Member

Fixes #18952

@sfoslund
sfoslund force-pushed the sfoslund/SystemCommandLineUpdates branch 2 times, most recently from 5816711 to d1d9436 Compare September 30, 2021 17:59
@sfoslund
sfoslund force-pushed the sfoslund/SystemCommandLineUpdates branch from 1e970c9 to 0985c0c Compare October 7, 2021 17:12
@sfoslund
sfoslund marked this pull request as ready for review October 15, 2021 18:59
Comment thread src/Cli/dotnet/CommonOptions.cs Resolved
Comment thread src/Cli/dotnet/ParseResultExtensions.cs Resolved

@joeloff joeloff left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good. Left some comments / questions.

@sfoslund

Copy link
Copy Markdown
Member Author

@jonsequitur do you want to review the System.CommandLine updates before they're merged into 7.0.1xx?

@@ -6,6 +6,7 @@
using Microsoft.DotNet.Tools.MSBuild;
using Microsoft.DotNet.Cli;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

We should probably sort these usings, but don't let that block the PR

@sfoslund
sfoslund force-pushed the sfoslund/SystemCommandLineUpdates branch from bcfd918 to 5ba9a18 Compare October 25, 2021 18:46
@sfoslund

Copy link
Copy Markdown
Member Author

Merging, @jonsequitur let me know if you see any issues/ improvements we should make and I can make a follow up PR

@JoeRobich

Copy link
Copy Markdown
Member

@sfoslund Is it expected that this version of the command-line-api hasn't been published to the .NET 6 channel? How should other tools that ship in the SDK stay in sync?

@sfoslund

Copy link
Copy Markdown
Member Author

We plan to update to the stable 2.0 version as soon as it's released (sometime in early December) so at that point I don't think we'll need to have these frequent updates anymore.

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Update CLI to stop using obsolete System.CommandLine APIs

5 participants