Skip to content

Temporarily disable It_builds_deps_correctly_when_projects_do_not_get_restored (msbuild#14274 regression) - #55265

Closed
JanProvaznik wants to merge 1 commit into
dotnet:mainfrom
JanProvaznik:janprovaznik/disable-deps-test-55263
Closed

Temporarily disable It_builds_deps_correctly_when_projects_do_not_get_restored (msbuild#14274 regression)#55265
JanProvaznik wants to merge 1 commit into
dotnet:mainfrom
JanProvaznik:janprovaznik/disable-deps-test-55263

Conversation

@JanProvaznik

Copy link
Copy Markdown
Member

Temporarily disables It_builds_deps_correctly_when_projects_do_not_get_restored (Microsoft.NET.Build.Tests), which regresses under the MSBuild flow that includes dotnet/msbuild#14274 (ExcludeRestorePackageImports=true during implicit restore, change wave 18.10).

This is the same root cause as ItCanTestAMultiTFMProjectWithImplicitRestore, which was already disabled under #55263. For the [DataRow("TestApp.")] case, TestApp.deps.json now lists transitive non-SDK project references (excluded from restore via _IsProjectRestoreSupported) by their project name instead of their overridden AssemblyName.

Confirmed locally (rebuilding the SDK with MSBuild 18.10.0-1.26360.102): fails with change wave 18.10 enabled, passes with MSBUILDDISABLEFEATURESFROMVERSION=18.10.

The MSBuild change is being reverted in dotnet/msbuild#14349. Tracked for re-enable (alongside the other test) in #55263.

…_restored

Same root cause as ItCanTestAMultiTFMProjectWithImplicitRestore (dotnet#55263): dotnet/msbuild#14274 (ExcludeRestorePackageImports during restore, change wave 18.10) regresses restore for projects excluded from restore via _IsProjectRestoreSupported. For the 'TestApp.' case, TestApp.deps.json lists transitive non-SDK project references by their project name instead of the overridden AssemblyName. Disable pending the msbuild#14349 revert flowing in.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: 499249b7-514f-4ecf-88bc-2466455069c5
Copilot AI review requested due to automatic review settings July 14, 2026 09:44
@azure-pipelines

Copy link
Copy Markdown
Azure Pipelines:
Successfully started running 1 pipeline(s).
2 pipeline(s) were filtered out due to trigger conditions.
There may be pipelines that require an authorized user to comment /azp run to run.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Temporarily disables a failing Microsoft.NET.Build.Tests test that regressed under the MSBuild change wave 18.10 behavior introduced by dotnet/msbuild#14274 (implicit restore using ExcludeRestorePackageImports=true), tracked for re-enable in #55263 once the MSBuild revert (dotnet/msbuild#14349) flows in.

Changes:

  • Marks It_builds_deps_correctly_when_projects_do_not_get_restored as ignored with a tracking link to #55263.

Comment on lines 29 to 32
[DataRow("")]
[DataRow("TestApp.")]
[Ignore("https://github.com/dotnet/sdk/issues/55263")]
public void It_builds_deps_correctly_when_projects_do_not_get_restored(string prefix)
@JanProvaznik

Copy link
Copy Markdown
Member Author

Superseded: applied the ignore directly to the codeflow PR #55245 (commit b5e726c), matching how ItCanTestAMultiTFMProjectWithImplicitRestore was disabled there.

@JanProvaznik
JanProvaznik deleted the janprovaznik/disable-deps-test-55263 branch July 14, 2026 09:50
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.

2 participants