Change .templateengine folder path
See original GitHub issueI would like to setup a dotnet sdk environment on a usb drive in a portable
mode. The idea is to have no file/folder changes to the host file system. Currently the .templateengine
folder is placed in the %USERPROFILE%
path on windows. I’m sure in similar places on other platforms. #9853 in the dotnet/cli
repo was opened to track this effort. @peterhuene mentioned that the DOTNET_CLI_HOME
variable available in 2.1.4xx
should keep things in a location of choice, e.g. a data/
folder on a usb drive.
Could this variable be used to also change where the .templateengine
folder is kept?
Issue Analytics
- State:
- Created 5 years ago
- Reactions:3
- Comments:8 (5 by maintainers)
Top Results From Across the Web
Changing the Thymeleaf Template Directory in Spring Boot
In this short tutorial, we will look at how we can change the template location. After we do that, we'll learn how to...
Read more >Custom templates for dotnet new - .NET CLI
The mytemplate folder is an installable template package. Once the package is installed, the shortName can be used with the dotnet new command....
Read more >Where does "dotnet new templatename" command stores ...
Found a similar question with an answer for macOS - Where is the dotnet CLI's default template directory on mac?
Read more >Using the .Net Core Template Engine to Create Custom ...
To create a simple console application, start up the command line, change directory to a new empty folder (an important step, ...
Read more >Make your own custom .NET Core templates - Craft Bakery
NET Core templates. Templates are located in %USERPROFILE%\.templateengine directory. Template Engine is open source and builds on .
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
+1 for supporting DOTNET_CLI_HOME. NuGet and other things bundled in the CLI support this.
cc @livarcocc @peterhuene
@dotnet/templating-engine-maintainers let’s retriage this issue, imo it makes sense considering other parties did it.