Edmx设计师和项目模板从VS2012缺失 [英] Edmx designer and item template missing from VS2012

查看:228
本文介绍了Edmx设计师和项目模板从VS2012缺失的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我几乎肯定这是可以使用和工作的,但在这个网站,我有一个最近从VS2010升级到VS2012。我发现如果我双击一个.edmx文件,默认情况下会在XML编辑器中打开。此外,企业数据模型项目模板缺少,所以我必须在VS2010中打开项目,只是添加一个新的数据模型。是否有任何已知问题可能导致这种情况?

I am nearly sure this was available and working before, but at this site I have a very recent upgrade from VS2010 to VS2012. I find that if I double click an .edmx file, it by default opens in an XML editor. Also, the Enterprise Data Model item template is missing, so I must open the project in VS2010 just to add a new data model. Are there any known issues that could cause this?

推荐答案

您必须选择 Microsoft Web Developer Tools 在VS2012设置中获得EF。现在我有设计师。

you have to select the Microsoft Web Developer Tools in the VS2012 setup to get EF back. Now I have the designer.

//编辑
选择 Microsoft SQL Server数据工具也安装EF设计师:

// Edit Selecting Microsoft SQL Server Data Tools also installs the EF Designer:

这篇关于Edmx设计师和项目模板从VS2012缺失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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