dotnet / dotnet/project-system

Tooling support for props and targets files outside of the project file

Open
#4,888 1 comment 3 reactions 0 assignees View on GitHub
Triage-Approved
Dominant language
C#
Stars
1k
Forks
415
PR merge metrics
No merged PRs in 30d

Description

Currently the tooling around project properties (eg. Output Type, Assembly info etc.) and items (eg. Nuget references) supports reading from a number of places, such as the project file itself, but also targets imported using the element in the project file, or implicit imports that are based on folder structure, by naming files Directory.Build.targets or similar. Unfortunately the project system only supports writing to the project file itself, so for projects with these more advanced configurations they either need to not use the tooling at all in some scenarios (eg, not use Nuget Package Manager), or must deal with fixing up the changes the tooling makes by moving things to the right files.

Most of the projects in the https://github.com/dotnet/ org, including this one, are using a pattern of centralising Nuget packages and versions in a single file, and even this relatively simple step is not supported.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.