Don't see Entity Framework Template after Visu

2020-07-16 03:10发布

I just install Visual Studio 2010 on a 64 bit VM with Windows 7 64 bit. The VM is on an ESXi Hypervisor. When I tried to create my first project I don't see the Entity Framework template (ADO .NET Entity Framework). Am I missing a step here? Any and all help is appreciated.

4条回答
一纸荒年 Trace。
2楼-- · 2020-07-16 03:29

Unless I misunderstood your question, you have to start a project (web application, wpf application etc), and then add ado.net entity data model.

See fourth figure on this page:

http://weblogs.asp.net/rajbk/archive/2010/05/09/creating-an-asp-net-report-using-visual-studio-2010-part-1.aspx

Update

Try

devenv /installvstemplates

查看更多
疯言疯语
3楼-- · 2020-07-16 03:36

Make sure you're targeting 4.0 and not 3.5.

查看更多
Viruses.
4楼-- · 2020-07-16 03:49

I just had the very same problem. Actually, you have to check "SQL Server 2008 express" in Visual Studio installation, or Entity Framework won't be installed.

查看更多
该账号已被封号
5楼-- · 2020-07-16 03:50

@Will thanks for all the help. I was able to solve this problem by using the following steps:

  1. Reinstall Visual Studio 2010 Professional a. Select Add New Components b. Click until you get to the comnponents selection screen c. de-select and re-select Visual Basic .NET and C#
    d. Click Update
  2. Log back into Visual Studio 2010 Professional and you will have access to the ADO .NET Entity Framework

Thanks to all!!

查看更多
登录 后发表回答