Don't see Entity Framework Template after Visual Studio 2010 install on Windows 7 64 bits

a 夏天 提交于 2019-12-06 02:34:47

问题


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.


回答1:


@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!!




回答2:


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.




回答3:


Make sure you're targeting 4.0 and not 3.5.




回答4:


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



来源:https://stackoverflow.com/questions/2846048/dont-see-entity-framework-template-after-visual-studio-2010-install-on-windows

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!