Using, and creating, custom project templates in Visual Studio and the dotnet CLI

preview_player
Показать описание
Creating project templates is a great way to make it easy for users to get started from a common starting point. In the past it was difficult to create, and maintain, project templates for .NET. Now it's very easy to get started with your own custom project templates. You can create a project template that can be used in the command line with dotnet new, Visual Studio 2019 and Visual Studio for Mac. Come to this talk to see how easy it is to create your very own project templates. We will cover creating single project templates as well as solution templates that contain several projects.

#dotnet6 #dotnetconf #dotnet
Рекомендации по теме
Комментарии
Автор

Nice presentation. But i wonder how to wrap some projects with a solution folder when working with multiple project? What to do in template.json?

furkanbekereci
Автор

Hi.
Its possible to create a net core template with many projects in a same solution?

josedavidperez
Автор

How to make a custom template with multiple projects linked to the same solution?

I put the .template.config file where the .sln is and I am trying to set the template.json file. When I create a project by choosing the template in Visual Studio, it creates .sln and project file. I have my own .sln and project files in the project file. It's a complex structure with nested and multiple .sln. I searched for a solution to this situation but couldn't find it.

Can you help me?

aslanamca