dotnet / dotnet/sdk

Extract common packagereferences for MSBuild tasks that ship in the SDK

Open
#51,444 0 comments 1 reaction 1 assignee Assigned to @Copilot View on GitHub
Area-NetSDK untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

Several projects in this repo build MSBuild task assemblies. They all have clauses in their project file like

https://github.com/dotnet/sdk/blob/39856f4fe0fc4eba6cd5e920bfcef3d16074abca/src/Tasks/Microsoft.NET.Build.Tasks/Microsoft.NET.Build.Tasks.csproj#L83-L85

That serve to keep the .NET Framework task unified with the dependencies that MSBuild has. Unfortunately they can differ.

We should extract the concept of "this project builds SDK MSBuild tasks" to an imported `SDKDeliveredMSBuildTask.props` file that includes the references like that, and import it in the various projects that build tasks.

You can find those projects by searching for `SystemReflectionMetadataToolsetPackageVersion` and other properties to make sure you've found them all.

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.