-
Notifications
You must be signed in to change notification settings - Fork 387
dotnet new --uninstall --help no longer lists any items as being installed. #3041
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
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
We changed how SDK templates are installed recently. Instead of copying them into each Plan we have for aspnetcore tests going forward is to provide |
That should work - our tests spend a bunch of time uninstalling the templates (and then verifying the uninstall command worked), this seems like a better option. Out of curiosity, if we're able to add debug specific options to these commands, is it possible to have a |
What would be scenario?
And this would result in Would it help if we provided new command like |
Something along the lines of the last one:
and the engine essentially ignores specifically looks for templates in the nupkg, ignoring any installed templates and precedence rules. It would also help some of our development testing, since it means we could pack the templates and have it be created without going thru the extra steps of installing / clearing the template cache etc. |
Oh now I understand, so you want to skip install step completely, makes sense |
The uninstall step 😄. But yes, it would be super convenient to point to a nupkg and say please install a template from this archive. |
I believe that since adding |
SDK: 6.0.100-preview.4.21214.10
List works but uninstall says no items are installed.
With an older SDK, the uninstall command provides helpful instructions on how to uninstall specific packages:
The text was updated successfully, but these errors were encountered: