不能在Visual Studio中添加实体数据模型 [英] Cannot add Entity Data Model in Visual Studio

查看:481
本文介绍了不能在Visual Studio中添加实体数据模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行的Visual Studio 08团队版与.NET Framework 3.5 SP1中在WinXP。我想一个实体数据模型添加到我的项目,但是,要增加一个ADO.NET实体数据模型选择的选项不会出现。为了给你一个直观的,我基本上按照方向的此处,但不能让过去的第5步(右键单击项目,然后单击添加新项),因为该选项添加一个EDM不会出现。

I am running Visual Studio 08 Team Edition with .NET Framework 3.5 SP1 on WinXP. I am trying to add a Entity Data Model to my project, however, the option to add an "ADO.NET Entity Data Model" selection does not appear. To give you a visual, I am essentially following the directions here, but cannot get past step 5 (Right click on project and click Add New Item) because the option to add an EDM does not appear.

任何想法?我敢肯定,我把所有的prerequisites的。

Any ideas? I'm sure I have all of the prerequisites.

推荐答案

我猜你的VS 2008 SP1的安装没有成功完成。这里有一些事情来验证:

I'm guessing that your VS 2008 SP1 installation did not complete successfully. Here are some things to verify:

  1. 看看<一href="http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm" rel="nofollow">http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm并验证是否任何已知问题适用于您的方案

  1. Take a look at http://download.microsoft.com/download/A/2/8/A2807F78-C861-4B66-9B31-9205C3F22252/VS2008SP1Readme.htm and verify if any of the known issues apply in your scenario

打开一个Visual Studio 2008 SP1命令提示符下,键入:devenv.exe的/设置[设置]

Open a Visual Studio 2008 SP1 command prompt and type: devenv.exe /setup [ENTER]

修复VS 2008 SP1从添加/删除程序或尝试卸载并重新安装VS 2008 SP1

Repair VS 2008 SP1 from "Add/Remove Programs" or try uninstalling and reinstalling VS 2008 SP1

这篇关于不能在Visual Studio中添加实体数据模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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