-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed as not planned
Labels
Priority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releaseauthor-respondedAuthor responded, needs response from dev team.Author responded, needs response from dev team.bugneeds-triageHave yet to determine what bucket this goes in.Have yet to determine what bucket this goes in.
Description
Issue Description
Suppose there is a Main project reference a multi-targeting Lib project, and to every Lib project's target framework, there are other different projects and packages referenced by Lib. The result is build success but run fail.
The dependencies that copy to local are faulty.
Steps to Reproduce
I put a similar sample in sanmuru/MSBuild-bug.
Console(Main) project referenceCoreLib(Lib) project withSetTargetFramework="TargetFramework=netstandard2.0".CoreLib(Lib) project referenceNet462UtilLibproject andSystem.Text.Jsonpackage when targetingnet462.CoreLib(Lib) project referenceNetStandard20UtilLibproject andNewtonsoft.Jsonpackage when targetingnetstandard2.0.- Build result shows
Console(Main) project do reference the correct output assembly (and its dependencies) which fromNetStandard20UtilLibproject, but as well copy output assembly fromNet462UtilLibproject andSystem.Text.Jsonpackage instead ofNewtonsoft.Jsonpackage to local.
Expected Behavior
No idea whether it is a feature or a bug, if it is a bug then fix it, or crash build process if it is a feature.
Versions & Configurations
.NET Runtime: 7.0.200-preview.22628.1
Metadata
Metadata
Assignees
Labels
Priority:2Work that is important, but not critical for the releaseWork that is important, but not critical for the releaseauthor-respondedAuthor responded, needs response from dev team.Author responded, needs response from dev team.bugneeds-triageHave yet to determine what bucket this goes in.Have yet to determine what bucket this goes in.