microsoft / microsoft/MSBuildSdks

Feature Request: dotnet templates package for Traversal and NoTargets projects

Open
#472 1 comment 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Feature Request Help Wanted
Dominant language
C#
Stars
508
Forks
94
Avg merge
6h 40m
Merged PRs (30d)
2

Description

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the README samples for Traversal and NoTargets projects and the existing SDK packaging setup. Define how Microsoft.Build.Traversal.Templates and Microsoft.Build.NoTargets.Templates should install through dotnet new install and generate dirs.proj and NoTargets projects. Done means both template packages can be installed and their dotnet new commands create sensible starter projects.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.