Where does "dotnet new templatename" command stores the template?

953 views Asked by At

I am following tutorial for Create an Item Template for dotnet new CLI

After running dotnet new stringext I get the message

The template "Example templates: string extensions" was created successfully.

I look up for the extension in my test folder but I do not see anything new created.

enter image description here

1

There are 1 answers

1
Christopher Mandlbaur On

Found a similar question with an answer for macOS - Where is the dotnet CLI's default template directory on mac?

On Windows it is also in a .templateengine directory inside your user directory - %HOME%\.templateengine