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:
- 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 - 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