ADO.net is missing. VS 2010 SP1 includes an entity framework template.

ado.net entity-framework templates visual-studio-2010

Question

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

Screen capture from Unistall/remove programs

Missing Template in VS 2010 SP1

Missing Template in VS 2010 SP1

.net Target Framework

enter image description here

Missing template (.zip)

enter image description here

1
7
5/23/2017 12:02:50 PM

Accepted Answer

Reinstalling VS 2010 fixed the problem with ADO.net EF project template.

  1. Uninstall VS 2010
  2. Uninstall all Add-ons like SL toolkit EF Library 4.0
  3. Install VS 2010
  4. Install any other add-ons

Restart the machine when requested by the installer.


Also, please try out this.

When I ran VS 2010 in maintenance mode, the EF template problem got fixed. But I was not able to create any EDMX. I got missing DLL error. I did not try copying DLL from other's machine. I think that might have fixed the problem.


[Edit]

As Sutikshan Dubey has suggested, please check if "Add New item" fixes the problem No Entity Data Model (EDMX) Template with Visual Studio 2010 SP1 & ADO.NET Entity Framework 4.1

0
5/23/2017 10:24:12 AM

Popular Answer

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.



Related Questions





Related

Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow