实体框架部署 [英] Entity framework deployment

查看:103
本文介绍了实体框架部署的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我有一个使用vs 2008 Sp1和实体框架开发的应用程序.我现在要部署它.在我的部署机dotnet framework 4.0中,我安装了.所以我的问题是我需要在此计算机上安装EntityFrame Work 4.0还是已经与.net 4.0框架捆绑在一起?

现在我已经部署了这个地方

无法加载文件或程序集``System.Data.Entity,Version = 3.5.0.0,Culture = neutral,PublicKeyToken = b77a5c561934e089''或其依赖项之一.该系统找不到指定的文件.


请让我知道这件事吗?

致谢

V.ramesh

Hi,

I have an appliction developed using vs 2008 Sp1 with entity framework. i want deploy it now. In my deployment machine dotnet framework 4.0 i nstalled. so my question is do i need to install entityframe work 4.0 to this machine or it already bundles with .net 4.0 framework ?

Now i deployed this place i am getting

Could not load file or assembly ''System.Data.Entity, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'' or one of its dependencies. The system cannot find the file specified.


pLease let me know about this ?

THanks & regards

V.ramesh

推荐答案

我非常确定实体框架是另一种不同的野兽,并且默认情况下不包括在内,当然不在客户端配置文件中.您可以对它进行bin部署(将引用设置为本地复制),并确保它最终出现在客户端计算机上.

干杯.
I''m pretty sure that entity framework is a different different beast and not included by default, certainly not in the client profile. You can bin deploy it (set the reference to copy local) and make sure it ends up on your client machine.

Cheers.


这篇关于实体框架部署的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆