无法打开实体数据模型设计器 [英] Can not open Entity Data Model designer

查看:234
本文介绍了无法打开实体数据模型设计器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!

我昨天用Visual Studio 2010 Beta 2创建了一个实体数据模型,并在我的模型中添加了一些实体。今天我尝试打开edmx文件,但它在VS的文本编辑器中打开而不是设计器,我找不到任何方法在设计器中打开它。

我找到了这篇文章( http://thedatafarm.com/blog/data-access/can-t-open-the-edmx-file-in-the-designer-here-s-the-workaround/ ),但它没有'请帮助。

谢谢,
DM

Hi!

I've created an Entity Data Model with Visual Studio 2010 Beta 2 yesterday and added some entities to my model. Today I tried to open the edmx file, but it gets opened in the text editor of VS instead of the designer, and i can't find any way to open it in the designer.

I found this post (http://thedatafarm.com/blog/data-access/can-t-open-the-edmx-file-in-the-designer-here-s-the-workaround/), but it didn't help.

Thanks,
DM

推荐答案

其他信息:我试图卸载ADO.Net Entity Framework工具Beta 2然后我重新安装VS2010 Beta 2.现在,当我打开我的解决方案时,我收到以下错误消息:
---------------------- -----
Microsoft Visual Studio
---------------------------
''微软.Data.Entity.Design.BootstrapPackage.BootstrapPackage,Microsoft.Data.Entity.Design.BootstrapPackage,Version = 10.0.0.0,Culture = neutral,PublicKeyToken = b03f5f7f11d50a3a'package没有加载cor直接。

Additional info: i tried to uninstall ADO.Net Entity Framework Tools Beta 2 then i reinstalled VS2010 Beta 2. Now when i open my solution, i get the following error message:
---------------------------
Microsoft Visual Studio
---------------------------
The 'Microsoft.Data.Entity.Design.BootstrapPackage.BootstrapPackage, Microsoft.Data.Entity.Design.BootstrapPackage, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' package did not load correctly.

问题可能是由配置更改或安装另一个扩展引起的。您可以通过在命令行上运行应用程序和/ log参数来获取更多信息,然后检查文件'C:\ Users \ ... \ AppData \ Rooaming \ Microsoft's\VisualStudio \ 10.0\ActivityLog.xml'。

The problem may have been caused by a configuration change or by the installation of another extension. You can get more information by running the application together with the /log parameter on the command line, and then examining the file 'C:\Users\...\AppData\Roaming\Microsoft\VisualStudio\10.0\ActivityLog.xml'.

继续显示此错误消息?
-------------------- -------
是  无  
---------------------------

现在我甚至看不到它的图标解决方案资源管理器中的edmx文件。

Continue to show this error message?
---------------------------
Yes   No  
---------------------------

And now i can not even see the icon of the edmx file in the solution explorer.


这篇关于无法打开实体数据模型设计器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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