Error:
After generating a connected service from WCF, you get the following error during compile…
The type or namespace name ‘ServiceContractAttributeAttribute’ does not exist in the namespace ‘System.ServiceModel’
Fix:
Add the following from NuGet…
System.ServiceModel.Primitives
System.ServiceModel.Http
Sources:
https://stackoverflow.com/questions/45545013/system-servicemodel-not-found-in-net-core-project
Comments