prjseal / Package-Script-Writer

Source code for the Package Script Writer tool website
https://psw.codeshare.co.uk
MIT License
22 stars 24 forks source link

Recently `dotnet new` started erroring when the umbraco templates are already installed #15

Closed nul800sebastiaan closed 1 year ago

nul800sebastiaan commented 1 year ago

Get an error like this:

image

As you can see, adding --force will help. Since that works both when the templates are not already installed AND when they are, I'd suggest adding --force unless there's a nice way to check if they're installed first. But I think --force is by far the easiest option.

prjseal commented 1 year ago

Closed as we have since added this in as suggested