I am having VS 2010 Professional with SP1. I can see EF listed under Uninsall/remove a program list.
I have already referred these questions which don't have any solution. Hence starting a new thread.
Searching over internet didn't provide much help either. There were few blogs suggesting to reinstall VS 2010.
Is there a way I can download and copy ADO.net EF template on my machine without the need to reinstall VS 2010. Thank you.
Screen capture from Unistall/remove programs
Missing Template in VS 2010 SP1
.net Target Framework
Missing template (.zip)
Create the ADO.NET Entity Data ModelRight-click on your project in the Solution Explorer window and select the menu option Add -> New Item. In the Add New Item dialog, select the Data category. Select the ADO.NET Entity Data Model template, give the Entity Data Model the name Northwind. edmx, and click the Add button.
Entity Framework is the development of data-oriented applications using ADO.NET. Entity Framework solves problems in entity models, relationships, and business logic. Also, it works with data engines. This means Entity Framework is an Object-Relational Mapping (ORM) framework.
The template itself is normally located under \Program Files[ (x86)]\Microsoft Visual Studio 10.0\Common7\ide\itemtemplates\CSharp\Data\1033 in a zipfile called AdoNetEntityDataModelCSharp.zip . There is also a copy in \Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE\ ItemTemplatesCache\CSharp\Data\1033 , which is where VS reads it from.
Does that file exist in both locations? If not, copy it from another machine. If it exists but doesn't show up in VS, something else is wrong. In that case try running devenv.exe once with the /resetskippkgs command line parameter.
Had the same problem on VS2010 SP1, with Win7 and SQL Server 2008. Did not want the hassle of uninstall/reinstall VS2010 so kept looking. Found this solution here that got the template to work: No Entity Data Model (EDMX) Template with Visual Studio 2010 SP1 & ADO.NET Entity Framework 4.1
I still get some error messages at load time of VS2010, but have not yet tried the /resetskippkgs switch after installing the EF.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With