dotnet / dotnet/msbuild

Static graph should be more tolerant of bad nodes

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

Description

I'm trying to build a static graph of the projects in a very large repo. Unfortunately for reasons I don't yet understand, some of the projects in the graph fail to evaluate, and apparently any such failure is fatal, even if it's a simple matter of a missing import, which ProjectLoadSettings.IgnoreMissingImports would resolve but that's apparently not an option with static graph.

I don't mind skipping nodes that don't evaluate, but I see no option to do that. I'd like to please be able to ignore missing/invalid imports as well as skipping entire nodes. Bonus points if the graph retains invalid nodes even if they're empty so we can understand how many nodes are 'missing' from the graph (understanding that more may be hiding behind the missing ones).

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.