Skip to content

Direct package references on System.Collections.Immutable and System.Reflection.Metadata are causing build issues in source-build #101395

@NikolaMilosavljevic

Description

@NikolaMilosavljevic

Related to: dotnet/source-build#4344

With #100595, source-build got broken in release/8.0.1xx, due to package downgrade issue. Source-build consumes MSBuild 17.8.5, while runtime is on 17.8.3. Source-build will update MSBuild package references to live ones (17.8.5), but two runtime projects had direct package references, on S.C.I and S.R.M which caused package downgrade warning (prompted to error in source-build).

The fix would be to remove these direct package references as they will be transitively resolved from MSBuild package reference. This will allow both source-build and repo build to get the correct sets of references.

The change was implemented in source-build as a patch, with dotnet/installer#19554

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions