I am using Azure Function (C#) which is calling a .NET standard library to call an external WCF service and I am getting the below error. This file is located on the bin folder of my function and the version also correct.
Could not load file or assembly 'System.ServiceModel.Primitives, Version=4.2.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
Here are the platform information,
Microsoft.NET.Sdk.Functions (1.0.13)
.NET Standard Library 2.0
System.ServiceModel.Duplex 4.4.2
System.ServiceModel.Http 4.4.2
System.ServiceModel.NetTcp 4.4.2
System.ServiceModel.Security 4.4.2