Skip to content

Track Roslyn workspace dependencies explicitly - #6212

Merged
max-charlamb merged 2 commits into
dotnet:mainfrom
hoyosjs:juhoyosa/add-missing-node
Nov 11, 2026
Merged

max-charlamb merged 2 commits into
dotnet:mainfrom
hoyosjs:juhoyosa/add-missing-node

Conversation

@hoyosjs

@hoyosjs hoyosjs commented Nov 11, 2026 •

Copy link
Copy Markdown
Member

Summary

  • track Microsoft.CodeAnalysis.CSharp.Workspaces and Microsoft.CodeAnalysis.Workspaces.MSBuild explicitly in diagnostics dependency metadata
  • leave the runtime-owned CdacUsageGraph project unchanged in diagnostics
  • provide the repository-specific version properties required when the project changes from Track Roslyn workspace dependencies for CdacUsageGraph runtime#137377 flow into diagnostics

Testing

  • dotnet build src\cdac\runtime\src\native\managed\cdac\tools\CdacUsageGraph\src\CdacUsageGraph\CdacUsageGraph.csproj --configuration Release

@hoyosjs
hoyosjs requested a review from a team as a code owner November 11, 2026 13:13

@max-charlamb max-charlamb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

src/cdac/runtime/src/native/managed/cdac/tools/CdacUsageGraph/src/CdacUsageGraph/CdacUsageGraph.csproj

is source mirrored. This should be fixed on the runtime side.

@max-charlamb max-charlamb changed the title Add Microsoft.CodeAnalysis.Workspaces.MSBuild dependency dependency explicitly Track Roslyn workspace dependencies explicitly Nov 11, 2026
hoyosjs and others added 2 commits November 11, 2026 16:10
Keep the runtime-owned CdacUsageGraph project unchanged and add the repository-specific dependency metadata needed when dotnet/runtime#137377 flows into diagnostics.

Co-authored-by: Copilot <[email protected]>

Copilot-Session: ab215431-2cf9-4421-8822-d411adca0f92
@max-charlamb
max-charlamb force-pushed the juhoyosa/add-missing-node branch from 2ddad5b to 64a489f Compare November 11, 2026 21:11
max-charlamb added a commit to dotnet/runtime that referenced this pull request Nov 11, 2026
## Summary

- track `Microsoft.CodeAnalysis.CSharp.Workspaces` and
`Microsoft.CodeAnalysis.Workspaces.MSBuild` as explicit dependencies
- use package-specific generated version properties for all Roslyn
references in the source-owned `CdacUsageGraph` project
- allow the mirrored diagnostics project to consume repository-specific
dependency versions

This provides the runtime-owned project change needed by
dotnet/diagnostics#6212 without directly modifying the mirrored project
in diagnostics.

## Testing

- `dotnet build
src\native\managed\cdac\tools\CdacUsageGraph\src\CdacUsageGraph\CdacUsageGraph.csproj
--configuration Release`

---------

Co-authored-by: Max Charlamb <[email protected]>
Copilot-Session: ab215431-2cf9-4421-8822-d411adca0f92
@max-charlamb

Copy link
Copy Markdown
Member

/ba-g infra only change

@max-charlamb
max-charlamb merged commit 4bb09a5 into dotnet:main Nov 11, 2026
13 of 22 checks passed
hoyosjs added a commit that referenced this pull request Nov 12, 2026
Snap main at 3ca10b4 into release/stable, following #6216.

Includes #6212, #6220, #6221, #6224, #6218, and #6205. Preserves stable
package versioning: the only content difference from that main snapshot
is the empty PreReleaseVersionLabel.

Dependency metadata conflicts were resolved using the exact main files.
cDAC packaging remains enabled.

---------

Co-authored-by: Juan Hoyos <[email protected]>
Co-authored-by: Copilot App <[email protected]>
Co-authored-by: dotnet-maestro[bot] <42748379+dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Max Charlamb <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Wrighton <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants