Fixes: https://github.com/dotnet/source-build/issues/4344https://github.com/dotnet/runtime/pull/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.
I'm also adding the missing MSBuild dependencies to runtime, for proper PVP flow. Without the explicit dependencies, my validation build was hitting an issue with `Microsoft.Build.Framework` package downgrade in
`src/tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks/Microsoft.NET.Sdk.WebAssembly.Pack.Tasks.csproj`:
```
/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]
/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]
/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]
```
Fully validated with an internal pipeline run: https://dev.azure.com/dnceng/internal/_build/results?buildId=2436369&view=results
This pull request updates the following dependencies
[marker]: <> (Begin:Coherency Updates)
## Coherency Updates
The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)
[DependencyUpdate]: <> (Begin)
- **Coherency Updates**:
- **Microsoft.WindowsDesktop.App.Ref**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.WindowsDesktop.SharedFramework.x64.8.0**: from 8.0.5-servicing.24216.13 to 8.0.5-servicing.24217.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.WindowsDesktop.TargetingPack.x64.8.0**: from 8.0.5-servicing.24216.13 to 8.0.5-servicing.24217.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.NetCore.SharedFramework.x64.8.0**: from 8.0.5-servicing.24215.24 to 8.0.5-servicing.24216.15 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.App.Ref**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.NetCore.TargetingPack.x64.8.0**: from 8.0.5-servicing.24215.24 to 8.0.5-servicing.24216.15 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.App.Host.win-x64**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.DotNetHostResolver**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.Platforms**: from 8.0.5-servicing.24215.24 to 8.0.5-servicing.24216.15 (parent: Microsoft.NET.Sdk)
- **Microsoft.AspNetCore.App.Ref**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.AspNetCore.App.Ref.Internal**: from 8.0.5-servicing.24216.11 to 8.0.5-servicing.24217.6 (parent: Microsoft.NET.Sdk)
- **Microsoft.AspNetCore.App.Runtime.win-x64**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0**: from 8.0.5-servicing.24216.11 to 8.0.5-servicing.24217.6 (parent: Microsoft.NET.Sdk)
- **dotnet-dev-certs**: from 8.0.5-servicing.24216.11 to 8.0.5-servicing.24217.6 (parent: Microsoft.NET.Sdk)
- **dotnet-user-jwts**: from 8.0.5-servicing.24216.11 to 8.0.5-servicing.24217.6 (parent: Microsoft.NET.Sdk)
- **dotnet-user-secrets**: from 8.0.5-servicing.24216.11 to 8.0.5-servicing.24217.6 (parent: Microsoft.NET.Sdk)
- **Microsoft.WindowsDesktop.App.Runtime.win-x64**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.Dotnet.WinForms.ProjectTemplates**: from 8.0.5-servicing.24216.11 to 8.0.5-servicing.24217.4 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- **Microsoft.WindowsDesktop.App.Runtime.win-x64**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.DotNet.Wpf.ProjectTemplates**: from 8.0.5-servicing.24216.5 to 8.0.5-servicing.24217.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- **Microsoft.NET.ILLink.Tasks**: from 8.0.5 to 8.0.5 (parent: Microsoft.NET.Sdk...
This pull request updates the following dependencies
[marker]: <> (Begin:Coherency Updates)
## Coherency Updates
The following updates ensure that dependencies with a *CoherentParentDependency*
attribute were produced in a build used as input to the parent dependency's build.
See [Dependency Description Format](https://github.com/dotnet/arcade/blob/master/Documentation/DependencyDescriptionFormat.md#dependency-description-overview)
[DependencyUpdate]: <> (Begin)
- **Coherency Updates**:
- **Microsoft.WindowsDesktop.App.Ref**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.WindowsDesktop.SharedFramework.x64.8.0**: from 8.0.4-servicing.24169.24 to 8.0.5-servicing.24216.13 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.WindowsDesktop.TargetingPack.x64.8.0**: from 8.0.4-servicing.24169.24 to 8.0.5-servicing.24216.13 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.NetCore.SharedFramework.x64.8.0**: from 8.0.4-servicing.24169.9 to 8.0.5-servicing.24215.24 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.App.Ref**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.NetCore.TargetingPack.x64.8.0**: from 8.0.4-servicing.24169.9 to 8.0.5-servicing.24215.24 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.App.Host.win-x64**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.DotNetHostResolver**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.NETCore.Platforms**: from 8.0.4-servicing.24169.9 to 8.0.5-servicing.24215.24 (parent: Microsoft.NET.Sdk)
- **Microsoft.AspNetCore.App.Ref**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.AspNetCore.App.Ref.Internal**: from 8.0.4-servicing.24170.14 to 8.0.5-servicing.24216.11 (parent: Microsoft.NET.Sdk)
- **Microsoft.AspNetCore.App.Runtime.win-x64**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **VS.Redist.Common.AspNetCore.SharedFramework.x64.8.0**: from 8.0.4-servicing.24170.14 to 8.0.5-servicing.24216.11 (parent: Microsoft.NET.Sdk)
- **dotnet-dev-certs**: from 8.0.4-servicing.24170.14 to 8.0.5-servicing.24216.11 (parent: Microsoft.NET.Sdk)
- **dotnet-user-jwts**: from 8.0.4-servicing.24170.14 to 8.0.5-servicing.24216.11 (parent: Microsoft.NET.Sdk)
- **dotnet-user-secrets**: from 8.0.4-servicing.24170.14 to 8.0.5-servicing.24216.11 (parent: Microsoft.NET.Sdk)
- **Microsoft.WindowsDesktop.App.Runtime.win-x64**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.Dotnet.WinForms.ProjectTemplates**: from 8.0.4-servicing.24169.11 to 8.0.5-servicing.24216.11 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- **Microsoft.WindowsDesktop.App.Runtime.win-x64**: from 8.0.4 to 8.0.5 (parent: Microsoft.NET.Sdk)
- **Microsoft.DotNet.Wpf.ProjectTemplates**: from 8.0.4-servicing.24169.10 to 8.0.5-servicing.24216.5 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
- **Microsoft.NET.ILLink.Tasks**: from 8.0.4 to 8.0.5 (parent: Microsoft.N...
Microsoft.DotNet.Arcade.Sdk , Microsoft.DotNet.Build.Tasks.Installers , Microsoft.DotNet.CMake.Sdk
From Version 8.0.0-beta.24179.4 -> To Version 8.0.0-beta.24204.3