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.
views:
375answers:
3
+1
A:
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:
Update
Try
devenv /installvstemplates
Raj Kaimal
2010-05-17 00:19:27
Yes I am targeting 4.0 for the project and yes I did start a project. A MVC Solution with a class library as my DAL. I want to add the entity framework to my DAL class.
Brono The Vibrator
2010-05-17 12:09:41
@Brono that was how I screwed up the first time... I seem to remember something about 4.0/4.0 client as well, so try switching from one to the other and see if that works. Also, use the search box and type "Entity" to make sure you're not missing it.
Will
2010-05-17 12:38:16
@Will, per your suggestion i tried switching between 4.0 and 4.0 client but did not work...tried search but nothing found...I do see LINQ to SQL...even tried reinstall...maybe i need to uninstall everything and start over from scratch..bummer
Brono The Vibrator
2010-05-17 13:47:30
@Brono no idea. Check in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates\CSharp\Data\1033 for the file AdoNetEntityDataModelCSharp.zip. If its not there there's something wrong with your install... unless you're running Express and its not included? Not sure about that. In that case you'd have to see if the EF4 designer is included in the Express version.
Will
2010-05-17 14:22:54
@Will I checked in C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ItemTemplates but did not see a folder for CSharp...how do i get that folder and it's sub folders? Plus the corresponding one for VB?
Brono The Vibrator
2010-05-17 14:32:51
Sorry...The folders are in there...was looking at the wrong thing..
Brono The Vibrator
2010-05-17 14:35:50
@Will know how to make the ide point to them?
Brono The Vibrator
2010-05-17 14:36:51
@Will...just checked on the internet and looks like my problem is due to the fact that i don't have "Microsoft Visual Studio 2010 ADO.NET Entity Framework Tools" installed...when i get home tonight i will reinstall and make sure to check the boxes for vb and c#...hopefully that will solve my problem....we will see
Brono The Vibrator
2010-05-17 14:51:45
@Brono, ugh, are you using Beta 2 or the RC rather than the RTM? Because those do require a separate download.
Will
2010-05-17 15:36:37
@Will I have a MSDN Professional Subscription and got it off the site. It says Version 10.0.30319.1 RTMRel. It is Microsoft Visual Studio 2010 Professional...maybe i should ping microsoft support on this one...
Brono The Vibrator
2010-05-17 16:29:52
+1
A:
@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!!
Brono The Vibrator
2010-05-17 23:39:12