MSBuildSdks icon indicating copy to clipboard operation
MSBuildSdks copied to clipboard

Feature Request: dotnet templates package for Traversal and NoTargets projects

Open MattKotsenas opened this issue 2 years ago • 1 comments

It would be nice if this project also published a nuget template package, for instance Microsoft.Build.Traversal.Templates and Microsoft.Build.NoTargets.Templates.

I could then run dotnet new install to install the templates and then for instance create a new dirs.proj file by running dotnet new dirs.proj, or a new NoTargets project via dotnet new notargets.

The idea is to provide a sensible default for people getting started, and reduces friction to adoption over copy/pasting the sample from the README.

I'm also happy to do this work, but wanted to open an issue to gauge interest before starting.

MattKotsenas avatar Aug 22 '23 17:08 MattKotsenas

We would gladly accept a pull request for this. I have never personally made a dotnet template so please feel free to contribute. We would only need a template for NoTargets and Traversal. But that would be very cool to type:

dotnet new traversal

jeffkl avatar Sep 11 '23 16:09 jeffkl