开发者

Where is System.ServiceModel.DomainServices.EntityFramework DLL?

开发者 https://www.devze.com 2023-01-14 10:13 出处:网络
I\'m trying to use RIA services, I installed Silverlight 4 and Silverlight 4 Tools/SDK, but I cannot setup a LINQToEntitiesDomainService because I can\'t find this namespace/assembly: System.ServiceMo

I'm trying to use RIA services, I installed Silverlight 4 and Silverlight 4 Tools/SDK, but I cannot setup a LINQToEntitiesDomainService because I can't find this namespace/assembly: System.ServiceModel.DomainS开发者_如何学Goervices.EntityFramework. Where does this assembly come from, not sure why it's missing? Is that an add-on I'm missing?

Thanks.


You should find it in:-

Program Files[ (x86)]\Microsoft SDKs\RIA Services\v1.0\Libraries\Server

As the folder suggests this is a server-side dll; if you are attempting to add to your Silverlight project then that would be the problem. Its designed to be referenced by the Web project or a library project that is reference by the web project.


A newer version of this is also part of the RIA Services Toolkit, in particular the NuGet package "RIA Services for EntityFramework Code-First (DbContext)". Needed if you want to use a newer version of EF.

0

精彩评论

暂无评论...
验证码 换一张
取 消