Skip to content

Add regression test for Central Package Management (CPM) project loading - #424

Merged
razzmatazz merged 1 commit into
mainfrom
add-cpm-regression-test-issue-318
Sep 7, 2026
Merged

razzmatazz merged 1 commit into
mainfrom
add-cpm-regression-test-issue-318

Conversation

@razzmatazz

Copy link
Copy Markdown
Owner

Summary

  • Adds a projectWithCentralPackageManagement test fixture: a project using NuGet Central Package Management (Directory.Packages.props + version-less <PackageReference>) plus a dependent project consuming it transitively via ProjectReference.
  • Adds testCentralPackageManagementProjectLoadsWithoutMsbuildWorkspaceFailure to InitializationTests.fs, which asserts the solution loads without a msbuildWorkspace [Failure] diagnostic and that hover/code intelligence works in both projects.
  • Teaches prepareTempTestDirFrom (Tooling.fs) to copy Directory.Packages.props into fixture temp dirs.

Ref: #318

🤖 Generated with ECA (anthropic/claude-sonnet-5)

Adds a `projectWithCentralPackageManagement` fixture (a CPM-managed
project plus a dependent project consuming it transitively) and a test
in InitializationTests.fs that opens both projects and asserts no
msbuildWorkspace [Failure] diagnostic is raised and hover/code
intelligence works.

Ref: #318

🤖 Generated with [ECA](https://eca.dev) (anthropic/claude-sonnet-5)

Co-Authored-By: eca-agent <git@eca.dev>
@razzmatazz
razzmatazz merged commit ff33dd7 into main Sep 7, 2026
3 checks passed
@razzmatazz
razzmatazz deleted the add-cpm-regression-test-issue-318 branch September 7, 2026 06:12
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.

1 participant