Has anyone tried to connect to an WCF webservice from Umbraco 9?
I'm getting this error
The type 'ClientBase<>' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Private.ServiceModel, Version=4.8.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
But System.Private.ServiceModel is already in the project and is copied to bin\Debug\net5.0.
If i start an simpel .net 5 project and an the servicereference, then it's working just fine.
Hello! Was this ever resolved? I too am running into the same issue. I've added my WCF service as a connected service and it has its node. I am now trying to consume or instantiate the service in a view macro partial and I'm getting the same error. Any assistance would be greatly appreciated.
Problem with WCF
Hi
Has anyone tried to connect to an WCF webservice from Umbraco 9? I'm getting this error
But System.Private.ServiceModel is already in the project and is copied to bin\Debug\net5.0.
If i start an simpel .net 5 project and an the servicereference, then it's working just fine.
Thanks Jonas
Try this: https://stackoverflow.com/questions/45545013/system-servicemodel-not-found-in-net-core-project
Thanks, but have tried that, and it didn't solved the problem :-(
Hello! Was this ever resolved? I too am running into the same issue. I've added my WCF service as a connected service and it has its node. I am now trying to consume or instantiate the service in a view macro partial and I'm getting the same error. Any assistance would be greatly appreciated.
is working on a reply...