Skip to content

Duplicated dependency via project reference and nuget leads to GenerateDepsFile crash #364

@nguerrera

Description

@nguerrera

Repro steps

  • Have a PackageReference to Foo.nupkg
  • Also have a ProjectReference to Foo.csproj producing the same dll as nupkg

Expected behavior

  • Project reference wins and build succeeds

Actual behavior

  • Package reference wins for compilation input, GenerateDepsFile throws and aborts build.

Metadata

Metadata

Assignees

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions