-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add obsolete warning for DotNetCliToolReference packages that are now built-in commands #2014
Comments
@dsplaisted @nguerrera do we have a good place to do that in the SDK? Or is this something that we should probably ask NuGet to do (that's my initial preference). |
We could do this in the SDK if we had to. There are a few other options that don't involve new features. ASP.NET could publish updates to the packages that would have a .targets file in them that generated a warning. This would work without any new NuGet features, but would only warn if these packages were updated to the latest versions. Another option would be to have the new |
We considered some of these. Unfortunately...
DotNetCliToolReference doesn't import targets, only PackageReference.
This might work and is the alternative we've considered, but we wanted to raise the visibility of the warning to restore if possible. Also, implementing this kind of scanning can be a pain due to dotnet/msbuild#1097 |
FWIW - I'm inclined to push harder for NuGet/Home#2867 too, but I have no idea how much NuGet has on their plate right now. |
@livarcocc would you accept a PR to add this the SDK? I don't think we're going to get NuGet changes for this. |
It would depend on the nature of the PR 😄 |
Done in #2064 |
* fixes dotnet/templating dotnet#2503 dotnet/templating dotnet#2014: - corrects error message when value provided for parameter is incorrect: it should show the input paramater as enterd by user and not canonical name - when when value provided for parameter is incorrect: do not show generic help and help for template, just error message
* fixes dotnet/templating dotnet#2503 dotnet/templating dotnet#2014: - corrects error message when value provided for parameter is incorrect: it should show the input paramater as enterd by user and not canonical name - when when value provided for parameter is incorrect: do not show generic help and help for template, just error message
…103.1 (#2014) [main] Update dependencies from dotnet/arcade
A few ASP.NET Core packages that used to be installed via DotNetCliToolReference will be built-in commands for the CLI. When invoking "dotnet watch" now, it will use the built-in version, not the one delivered via DotNetCliToolReference, so DotNetCliToolReference should be removed.
cref aspnet/Announcements#290.
Since we don't have a proper way to issue obsolete messages about packages (NuGet/Home#2867), can we add a target that runs before Restore that issues an obsolete warning for the following packages
Proposed text:
The text was updated successfully, but these errors were encountered: