Jim Bennett

Senior Cloud Developer Advocate at Microsoft, Xamarin Certified Developer, author of Xamarin In Action, blogger, speaker, father and lover of beer, whisky and Thai food. Opinions are my own.

  Reading, UK

See me soon at:

NDC London

My book:

Xamarin In Action

My podcast:

The Jim And Tonic Show
The Jim And Tonic Show on iTunes

Contact me:

  Xamarin In Action
  Twitter
  The Jim And Tonic Show
  GitHub
  LinkedIn
  YouTube
  Email
  CV

In the first part of this set of posts I looked at creating a dotnet new project template. These are great if you like the cli, but if, like me, you'd rather be able to do File->New then dotnet new is not much use. Instead you need a Visual Studio extension that provides a new project or solution type to the IDE. The good news is that you can easily take what you've built for your dotnet new templates and create extensions for Visual Studio for both Windows and Mac with not much extra work.

In this post I'll look at VS 2017 for Windows, in the next post I'll cover VS for Mac. Although I'll look is not really correct - instead I'll be lazy and link to someone else's content ;op.

There is an extension for VS for Windows called Sidewaffle Creator from Sayed I. Hashimi that provides all the help you need. You load up the project that you generated your NuGet package from into VS, then add a new Template Pack Template project from the SideWaffle extension - this new project is your VSIX.

You can see all this in detail in this YouTube video from Sayed:




About the Author

Jim Bennett

Cloud Developer Advocate at Microsoft, Xamarin Certified Developer, blogger, author of Xamarin in Action, speaker, father and lover of beer, whisky and Thai food. Opinions are mine

 

In the first part of this set of posts I looked at creating a dotnet new project template. These are great if you like the cli, but if, like me, you'd rather be able to do File->New then dotnet new is not much use. Instead you need a Visual Studio extension that provides a new project or solution type to the IDE. The good news is that you can easily take what you've built for your dotnet new templates and create extensions for Visual Studio for both Windows and Mac with not much extra work.

In this post I'll look at VS 2017 for Windows, in the next post I'll cover VS for Mac. Although I'll look is not really correct - instead I'll be lazy and link to someone else's content ;op.

There is an extension for VS for Windows called Sidewaffle Creator from Sayed I. Hashimi that provides all the help you need. You load up the project that you generated your NuGet package from into VS, then add a new Template Pack Template project from the SideWaffle extension - this new project is your VSIX.

You can see all this in detail in this YouTube video from Sayed: