dotnet / templates

Templates for .NET
184 stars 59 forks source link

Introduce `dotnet new` templates for analyzers/codefixes, refactorings, and source generators #721

Open Youssef1313 opened 2 years ago

Youssef1313 commented 2 years ago

Analyzers/CodeFixes & Refactorings

Currently, there is a template for analyzers from Visual Studio, but if a user doesn't have Visual Studio installed, he has to do manual work to get everything ready.

Having a dotnet new template for analyzers that don't require VS installation would be nice.

Source Generators

Currently, there is no template for source generators at all. It would be good to have one in VS (that work is tracked by https://github.com/dotnet/roslyn-sdk/issues/873). After https://github.com/dotnet/roslyn-sdk/issues/873 is done, there should be a dotnet new version that don't require VS installation.