Could not load file or assembly Microsoft.ServiceModel.DomainServices.Hosting

大城市里の小女人 提交于 2019-11-30 20:26:40

The Microsoft.ServiceModel.DomainServices.Hosting library is not part of the standard WCF RIA Services. You have to download and install the WCF RIA Services Toolkit seperately.

I also recommend reading WCF Extensibility – Configuring the Endpoint for WCF RIA Services.

I had the same problem , and solved.

The files "Microsoft.ServiceModel.DomainServices.Hosting.dll" in C:\Program Files (x86)\Microsoft SDKs\RIA Services\v1.0\Libraries\Server is the wrong one.

The right one is here
C:\Program Files (x86)\Microsoft SDKs\RIA Services\v1.0\Libraries\Server\SP2

I think this problem maybe caursed by the dll file version. the first one is old and the second one is new .

Setting your .NET version incorrectly in the application list can also create this issue.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!