-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[release/9.0] Don't use netcoreapp2.1 in dotnet-get-document #64351
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
Conversation
There was a problem hiding this 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 attempts to modernize the dotnet-getdocument tool by removing the legacy netcoreapp2.1 target framework. The tool now only targets net9.0 (via DefaultNetCoreTargetFramework).
Key changes:
- Removed
netcoreapp2.1from theTargetFrameworksproperty in the project file - Simplified the tools directory resolution logic by removing version-specific conditionals
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| src/Tools/dotnet-getdocument/src/dotnet-getdocument.csproj | Removed netcoreapp2.1 from TargetFrameworks, now only targeting net9.0 |
| src/Tools/dotnet-getdocument/src/Commands/InvokeCommand.cs | Simplified tools directory resolution to use net{version} format for all .NET Core versions |
netcoreapp2.1 is no longer supported