dotnet / dotnet/msbuild

Item to define custom non-ProjectReference edge in graph

Open
#6,852 8 comments 1 reaction 0 assignees View on GitHub
Area: Static Graph triaged
Dominant language
C#
Stars
5.5k
Forks
1.5k
Avg merge
1d 13h
Merged PRs (30d)
133

Description

Several build processes (repos, SDKs, and NuGet packages) have a pattern where they want to do a thing "once per build"--maybe set up versioning, or run some code generator, or something.

Ideally it would be easy to express this in a `-graph -isolate` compatible way by creating an item something like

```xml

```

This would be a totally new edge, ignoring target propagation.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing the existing -graph -isolate handling and how graph edges propagate targets. Compare the proposed MSBuildGraphEdge metadata (Include, Targets, Properties) with current edge items; done means a custom edge can run once per build without target propagation and remains compatible with isolation.

Written by the indexing model from the issue text.

Assessment

Tech stack
xml
Domain
build-system
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.