Skip to content

Conversation

@NikolaMilosavljevic
Copy link
Member

Fixes: dotnet/source-build#4344

dotnet/runtime#100595 introduced two issues:

  • Lower MSBuild version dependency - 17.8.3, instead of 17.8.5. This caused transitive package downgrade errors.
  • Source-build dependency for MSBuild, in runtime repo. This caused downgrade of MSBuild repo in VMR, from 17.8.5 to 17.8.3.

Besides removing direct package references, the fix is to add a direct MSBuild source-build dependency in installer repo

@NikolaMilosavljevic NikolaMilosavljevic requested a review from a team April 22, 2024 16:25
Copy link
Member

Choose a reason for hiding this comment

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

This doesn't look like the right location - this should be in the appropriate patch folder.

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, not sure how this happened - fixing.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed with 74acebd

From: Nikola Milosavljevic <[email protected]>
Date: Mon, 22 Apr 2024 15:54:11 +0000
Subject: [PATCH] Remove direct S.C.I and S.R.M dependencies

Copy link
Member

Choose a reason for hiding this comment

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

Please add a backport link.

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed with a3610f6

@NikolaMilosavljevic
Copy link
Member Author

Additional issue was discovered in internal validation build, in online scenarios:

2024-04-20T01:46:27.0235861Z     /vmr/src/runtime/artifacts/source-build/self/src/src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks.csproj : error NU1605: Warning As Error: Detected package downgrade: Microsoft.Build.Framework from 17.8.5 to 17.8.3. Reference the package directly from the project to select a different version.  [/vmr/src/runtime/artifacts/source-build/self/src/Build.proj]
2024-04-20T01:46:27.0236512Z     /vmr/src/runtime/artifacts/source-build/self/src/src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks.csproj : error NU1605:  Microsoft.NET.Sdk.WebAssembly.Pack.Tasks -> Microsoft.Build 17.8.5 -> Microsoft.Build.Framework (>= 17.8.5)  [/vmr/src/runtime/artifacts/source-build/self/src/Build.proj]
2024-04-20T01:46:27.0237107Z     /vmr/src/runtime/artifacts/source-build/self/src/src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks.csproj : error NU1605:  Microsoft.NET.Sdk.WebAssembly.Pack.Tasks -> Microsoft.Build.Framework (>= 17.8.3) [/vmr/src/runtime/artifacts/source-build/self/src/Build.proj]

Updated the runtime patch.

@NikolaMilosavljevic
Copy link
Member Author

Hmm, VMR sync error not seen locally - investigating.

@MichaelSimons
Copy link
Member

May have to make the pr against internal - there could be conflicting runtime changes flowing in.

@NikolaMilosavljevic
Copy link
Member Author

May have to make the pr against internal - there could be conflicting runtime changes flowing in.

That might be a better option. I'll create a PR against internal. I did update this PR as well, but I had to modify the approach to avoid merge conflicts in V.D.xml and V.props.

Copy link
Member

@ViktorHofer ViktorHofer left a comment

Choose a reason for hiding this comment

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

This is a product change in a release branch. Curious what's the process here. Don't you need an approval from the team that owns these components? cc @akoeplinger

@NikolaMilosavljevic
Copy link
Member Author

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants