Service Model Assembly Error With Azure Functions V2+ (.net Core 2.1)
问题 I have been using azure function V2(.net core 2.1) in my azure function app. I have been using System.ServiceModel.Primitives nuget for my function App which uses ServiceBusEnvironment packages in it. I am able to compile the code and run the function. While calling the function I get this runtime error. Could not load type 'System.ServiceModel.Channels.IBindingRuntimePreferences' from assembly 'System.ServiceModel, Version=4.0.0.0' I googled up many things. But no luck. I then tried by