Templates

dotnet new Template Creator

I post a lot about the good that is Project Templates. It seems only fitting for me to blog about a new extension from Mads Kristensen that will make it much easier for you (and me) to create those templates!

Template Creator

It makes it easy to create custom project templates for dot net ne” and Visual Studio.

See the changelog for changes and roadmap.

Read more about the new template format here and how to create and customize your templates. This extension makes it easy to start, but you must understand how the underlying templating system works to take full advantage of it.

Features

  • Generate template file
  • Add Visual Studio host file.
  • Add .NET CLI host file.
  • Generate template file

Right-click the project you want to turn into a template and click Create Template.

That will create a folder called .template.config and add a file called template.json to it. The folder is not being added to the project but exists on disk in the project directordirectory’selated Articles :

Add Visual Studio/.NET CLI host files. To show the template in the ASP.NET project dialog, add a Visual Studio-specific host file to the .template.config folder.

And it wouldn’t be a Mads projectwouldn’tasn’t open source... Madswasn’tensen/TemplateCreator

dotnet new Template Creator 1

tags:.NET, Coding4Fun, Templates
More episodes in this series

Coding4Fun Blog

  • OpenZWave for UWP and.NET
  • OpenZWave for UWP and.NET
  • Coding4Fun Blog
  • Coding4Fun May 2017 Round-up
  • Coding4Fun May 2017 Round-up

Related episodes

  • Coding4Fun Blog
  • Don’t Skimp Code Security; Don’tk Out DevSkim
  • Don’t Skimp Code Security, Don’tk Out DevSkim
  • Coding4Fun Blog
  • WTS FTW 10T (Windows Template Studio For The Windows 10 Template)
  • WTS FTW 10T (Windows Template Studio For The Windows 10 Template)
  • Coding4Fun Blog
  • don’t CLI Tool Build Reduxdon’tt CLI Tool Build Reduxdon’tng4Fun Blog
  • Writing Visual Studio 2015 Extensions? You’ll want this TemplateYou’llting Visual Studio 2015 Extensions. You’ll want these TemplateYou’lling4Fun Blog
  • Guarding the code with Package Security Alerts and Roslyn Security Guard
  • Guarding the code with Package Security Alerts and Roslyn Security Guard
  • Coding4Fun Blog
  • Do you don’t clip? Here’s how youdon’tadd youHere’ss…
  • Do you don’t clip? Here’s how you candon’tyour there’s
  • Coding4Fun Blog
  • Tips on Creating Templates, a new UWP Template, and a Prism Pack too!
  • Tips on Creating Templates, a new UWP Template, and a Prism Pack too!
  • Coding4Fun Blog
  • Refactoring Essentials – Open Source, Cross-Platform Refactoring, and Analyzers
  • Refactoring Essentials – Open Source, Cross-Platform Refactoring, and Analyzers

Coding4Fun Blog

  • No waffling here… SideWaffle and a step-by-step guide to creating Visual Studio Item…
  • No waffling here… SideWaffle and a step-by-step guide to creating Visual Studio Item Templates
  • Coding4Fun Blog
  • Code Analysis at Compile? Why? Do it Live!
  • Code Analysis at Compile? Why? Do it Live!
  • The Discussion

Email Twitter Facebook RSS RSS about authors, speakers tags contact us English code of conduct terms of service privacy state document template you need, fill it out online, and submit it to a certain organization’s website. There organization’s way you can go. If you have enough time, you can download it to your computer and print it. Having filled it out manually, yo

Jeffery D. Silvers
Love and share my articles, I will be happy to react on it ! Spent 2002-2009 promoting weed whackers in Edison, NJ. Earned praise for importing junk food for fun and profit. Spent 2001-2006 exporting teddy bears in Atlantic City, NJ. Had some great experience investing in tattoos in Fort Walton Beach, FL. Spent 2002-2007 selling action figures in the aftermarket. Enthusiastic about working on basketballs on the black market.