I think the docs are a bit generic, when they say 10.xx they mean the version e.g 10.8.6 but you can do 10.* and that will get you the latest version of the templates.
e.g
dotnet new install Umbraco.Templates::10.*
should work. and always get the latest version of the 10 templates.
Cant install dotnet templates for Umbraco 10 using dotnet CLI
I was able to install the Umbraco 14 templates but I need Umbraco 10
I changed the default to .net core 6.0.423 using global.json but when I try to install the Umbraco 10 templates using:
returns: Error: Invalid option(s): Umbraco.Templates::10.xx
returns: Error: Invalid option(s): Umbraco.Templates
returns: Umbraco.Templates::10.xx is not supported.
How do I either get the templates or create an Umbraco 10 project in Visual Studio 2022?
Thanks for your help.
I got the following to work.
Apparently the first line will replace the dotnet Umbraco template
I think the docs are a bit generic, when they say
10.xx
they mean the version e.g10.8.6
but you can do10.*
and that will get you the latest version of the templates.e.g
should work. and always get the latest version of the 10 templates.
https://psw.codeshare.co.uk/
https://www.youtube.com/watch?v=ZByL3qILNnI
is working on a reply...