Skip to content

Could not load file or assembly 'System.ServiceModel.Primitives, Version=4.2.0.0 #2885

Closed
@ssashok10

Description

@ssashok10

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions