Skip to content

Libraries building against packages instead of ProjectReferences #40208

@ericstj

Description

@ericstj

Description

First noted here: 809a06f#comments

After switching to PackageReference we are bringing in some transitive packages that are older than live-built assets. In this case, System.Runtime.CompilerServices.Unsafe.

We should audit all of our library builds to make sure we aren't doing this in additional places.

It may be possible for us to automatically do this, but it it could get a little tricky (and expensive) to do during source build, as we would need to check for every package referenced by src if we have a src project for it for the target configuration and its building live. Perhaps we can add coverage in package testing for this.

Regression?

Yes, regressed from Preview8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions