Skip to content

BindingRedirects not generated for a specific reference #2547

@AbhitejJohn

Description

@AbhitejJohn

In the attached the solution, the AutoBindingRedirect isn't generating redirections for "System.Buffers" causing runtime failures.
Here is the dependency graph showing the disparity

  1. StreamJsonRpc 2.0.52-alpha -> Nerdbank.Streams 2.0.165-beta -> System.Buffers (>= 4.5.0)
  2. StreamJsonRpc 2.0.52-alpha -> System.Memory 4.5.1 -> System.Buffers (>= 4.4.0)

Now System.Memory 4.5.1 depends on 4.0.2.0 of System.Buffers.dll(which is in 4.4.0 version of the package) and since the version is resolved to 4.5.0 because of 1. that drops 4.0.3.0 in the artifacts folder.

This is a Class Library project targetting net461 and is on the new project system. Any suggestions for a workaround would be really useful.
BindingRedirectIssues.zip

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions