dotnet / dotnet/msbuild

Template for MSbuild target / task

Open
#7,548 9 comments 1 reaction 0 assignees View on GitHub
Area: API needs-design triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 8h
Merged PRs (30d)
141

Description

Extracted from https://github.com/dotnet/templating/issues/233

Create a template for creation of MSBuild tasks and targets.

The template should setup:
* correct packaging (per the [guidance](https://docs.microsoft.com/en-us/visualstudio/msbuild/tutorial-custom-task-code-generation?view=vs-2022#package-the-task-for-distribution) we've created)
* support for full-framework and .NET versions of MSBuild (for Visual Studio and `dotnet build` support)
* should scaffold out folders for the different extensibility points (`build` vs `buildMultitargeting`, primarily) with a README in each folder describing the intent)
* scaffold out tests for the generated Task(s)?
* may require that we ship the MSBuild Task Testing helpers in the MSBuild project as a separate package first, so it can be easily included
* Will need a strategy for easy testing locally vs packaged.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.