[SOLVED] The type or namespace name 'ServiceKnownTypeAttribute' does not exist in the namespace 'System.ServiceModel'
Posted: Wed Mar 15, 2017 4:38 am
Hi,
I have created a WCF service and added XmlSerializerFormat attribute,
When I add reference to the service in cshtml application,
I get following error in reference.cs:
"The type or namespace name 'ServiceKnownTypeAttribute' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?)"
I have created a WCF service and added XmlSerializerFormat attribute,
When I add reference to the service in cshtml application,
I get following error in reference.cs:
"The type or namespace name 'ServiceKnownTypeAttribute' does not exist in the namespace 'System.ServiceModel' (are you missing an assembly reference?)"