实体设计器丢失 [英] Entity Designer missing

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

问题描述

正如标题所述,实体设计器以某种方式从我安装的Visual Studio 2010中消失了。

尝试打开.edmx文件时,它仅在XML编辑器中打开。当我选择打开方式...时,实体设计器不会显示在列表中。

之前它已经起作用,并且我不知道该怎么做才能删除它从列表中。有谁知道我可以重新添加它?谢谢!

As the title says, somehow the entity designer disappeared from my installation of Visual Studio 2010.
When trying to open an .edmx file, it only opens it in the XML editor. When i choose "Open With...", the Entity designer doesn't show up in the list.
It has worked before, and i don't know of anything i could have done to remove it from the list. Does anyone know how i can re-add it? Thanks!

推荐答案

首先要检查的是,这是您的项目还是VS安装的问题。

First thing to check is, is this a problem with your project or with your VS installation.


  • 尝试创建一个新项目,然后查看实体设计器是否在列表中

如果您有两个选择


  • 将文件移至新项目

  • 尝试修复您的项目文件

其工作方式是在项目文件中有一组og Guis该项目中可用的内容。因此,您可以在记事本中打开项目文件,找出丢失的文件,然后将其移到上方。

The way it works is that there are a set og Guids in the project file that control what is available in that project. So you can open the project files in notepad, find out which is missing and then move them over.

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

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