Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Sln-based graph builds with non-built projects with solution dependencies throws #9500

Closed
dfederm opened this issue Dec 6, 2023 · 1 comment · Fixed by #9503
Closed

Comments

@dfederm
Copy link
Contributor

dfederm commented Dec 6, 2023

Issue Description

When doing a sln-based graph build and a project is a) not configured to build in the current configuration and b) has solution dependencies, it blows up.

Microsoft.Build.Framework.InternalErrorException: 'MSB0001: Internal MSBuild Error: nodes should include solution projects'

This is being thrown from GraphBuilder.AddEdgesFromSolution because all solutionDependencies are enumerated, even for projects which are filtered out.

Steps to Reproduce

See description

Expected Behavior

See description

Actual Behavior

See description

Analysis

No response

Versions & Configurations

No response

@dfederm dfederm added bug needs-triage Have yet to determine what bucket this goes in. labels Dec 6, 2023
@dfederm
Copy link
Contributor Author

dfederm commented Dec 6, 2023

Note: I'll be looking into this bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants