3

I have one Web API application,Added System.buffer reference 4.0.3.0.

When we call this project from another project from the same solution it's working fine.

But when I refer to this project reference in Azure function - It's throwing following error.

enter image description here

enter image description here

I have tried to make changes by changing versions but no luck.

In Azure function, we are just referencing project.

<TargetFramework>net462</TargetFramework>
Neo
  • 15,491
  • 59
  • 215
  • 405
DevPerson
  • 399
  • 1
  • 6
  • 21

1 Answers1

0

The Azure Functions 1.x Runtime does not support binding redirects (github issue).

I ended up writing code to apply the binding redirects myself, based on this answer.

BenV
  • 12,052
  • 13
  • 64
  • 92