Missing ADO.net Entity framework template in VS 2010 SP1

I have VS 2010 Professional with Service Pack 1 (SP1). I can see the EF specified in Uninsall / delete the list of programs.

I have already mentioned these issues, which have no solution. From here begins a new stream.

Internet searches also did not help. There were several blogs suggesting reinstalling VS 2010.

Is there any way to download and copy the ADO.net EF template on my computer without having to reinstall VS 2010. Thanks.

Screen capture from Unistall / uninstall programs

Screen capture from Unistall / remove programs

Missing template in VS 2010 SP1

Missing Template in VS 2010 SP1

.net Target structure

enter image description here

Missing template (.zip)

enter image description here

+6
source share
3 answers

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

  • Delete VS 2010
  • Remove all add-ons such as SL toolkit EF Library 4.0
  • Install VS 2010
  • Install any other add-ons.

Restart the computer as requested by the installer.


Also try this.

When I started VS 2010 in maintenance mode, the problem with the EF template was fixed. But I could not create EDMX. I have a missing DLL error. I did not try to copy the DLL from another machine. I think this could fix the problem.


[ Edit ]

As suggested by Sutikshan Dubi, check to see if the "Add New Item" issue fixes the Entity Data Data Model Template (EDMX) with Visual Studio 2010 SP1 and ADO.NET Entity Framework 4.1

0
source

The template itself is usually located in the \ Program Files [(x86)] \ Microsoft Visual Studio 10.0 \ Common7 \ ide \ itemtemplates \ CSharp \ Data \ 1033 folder 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, where VS reads it.

Does this file exist in both places? If not, copy it from another machine. If it exists, but does not appear in VS, something else is wrong. In this case, try to run the devenv.exe file once with the / resetskippkgs command line switch.

+5
source

Had the same problem on VS2010 SP1, with Win7 and SQL Server 2008. I didn’t want the VS2010 removal / reinstallation problem to continue like this. We found this solution here to get a template for working: Entity Data Model Template (EDMX) with Visual Studio 2010 Service Pack 1 and ADO.NET Entity Framework 4.1

I still get error messages during VS2010 boot, but have not tried the / resetsippkgs switch after installing EF.

+1
source

Source: https://habr.com/ru/post/888624/


All Articles