.NET Framework Developer Center > .NET Development Forums > .NET Framework Setup > Missing ADO.NET Entity Framework template after installing SP1
Ask a questionAsk a question
 

AnswerMissing ADO.NET Entity Framework template after installing SP1

  • Friday, June 05, 2009 1:48 PM_Roland Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    After installing SP1 and making sure my project is set to use the 3.5 framework I don’t see the ADO.NET Entity Framework template when trying to add a new item to the project.  As a side note I also have Visual Studio Express on the same machine and can see it list there, but I can not see in Visual Studio Professional.   Any help would be greatly appreciated!

Answers

  • Friday, June 12, 2009 1:25 PM_Roland Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    I uninstalled Visual Studio and reinstalled Visual Studio and reapplied VSSp1 and after that the ADO.NET Entity Framework template was there.

     

    As a side note I was getting Package 'Microsoft.VisualStudio.Xaml' has failed to load properly when I tried to open a xaml window. That error is also gone now as well.

     

    Thanks

All Replies

  • Monday, June 08, 2009 9:28 AMYiChun ChenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi _Roland,

    Do you mean ADO.NET Entity Data Model template? Which edition of Visual Studio are you running now?

    Can you find the following files on disk:
    Item templates
    %programfiles%\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\CSharp\Data\1033\AdoNetEntityDataModelCSharp.zip
    %programfiles%\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\VisualBasic\Data\1033\AdoNetEntityDataModelVB.zip
    %programfiles%\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\CSharp\1033\AdoNetEntityDataModelCSharp_ASPNET.zip
    %programfiles%\Microsoft Visual Studio 9.0\Common7\IDE\ItemTemplates\Web\VisualBasic\1033\AdoNetEntityDataModelVB_ASPNET.zip

    If these files can be found, please try running devenv.exe /InstallVSTemplates.
    Visual Studio uses a cache on disk of all the installed project/item templates, to rebuild the cache, please run devenv.exe /InstallVSTemplates (in Start > Run or "Visual Studio 2005/2008 Command Prompt")

    Let me know if it works.

    Thanks
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Thursday, June 11, 2009 11:47 PMjuan32 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi, can you upload this files, please?.
    I have the same problem than _Roland but I don't have them

    Thanks.
  • Friday, June 12, 2009 2:32 AMYiChun ChenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi Juan32,

    Could you please try opening a new thread in this forum so that we can focus on your issue? Please clarify your issue more in your new thread. Which edition of Visual Studio are you running now? What's your OS? I'm willing to help you. :)

    Thank you for your understanding.

    Please remember to mark the replies as answers if they help and unmark them if they provide no help.
    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.
  • Friday, June 12, 2009 2:33 AMYiChun ChenMSFT, ModeratorUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi _Roland,

    We are changing the issue type to “Comment” because you have not followed up with the necessary information. If you have more time to look at the issue and provide more information, please feel free to change the issue type back to “Question” by editing your initial post and changing the radio button at the top of the post editor window. If the issue is resolved, we will appreciate it if you can share the solution so that the answer can be found and used by other community members having similar questions.

    Thank you!
  • Friday, June 12, 2009 1:25 PM_Roland Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     Answer

    I uninstalled Visual Studio and reinstalled Visual Studio and reapplied VSSp1 and after that the ADO.NET Entity Framework template was there.

     

    As a side note I was getting Package 'Microsoft.VisualStudio.Xaml' has failed to load properly when I tried to open a xaml window. That error is also gone now as well.

     

    Thanks

  • Friday, July 03, 2009 11:37 AMStefan Misch Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi YiChun,

    I have the same problem with (english) VS2008 (on german WinXP). I installed the Full Package of .NET FW SP-1/EN.
    I have those template files, I also tried devenv.exe /InstallVSTTemplates, but ADO.NET EF template is still not available, when I try to add such an new item to my project..

    Anything else I can check or try?

    Thanks,
    Stefan
  • Saturday, July 04, 2009 12:16 PMStefan Misch Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Hi,

    ehem... maybe I can excuse myself by stating that this was my first EF try (read an "How-To" article from Beth Massi). Of couse when you want to use ADO.NET EF, then your project should be a .NET FW 3.5 project...

    Sorry to bother,
    Stefan
  • Friday, November 27, 2009 7:03 AMBharath Reddy VasiReddy Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Stefan,
     

     was your problem solved....I am facing the same problem............


    Thanks
    Bharath Reddy VasiReddy
  • Saturday, November 28, 2009 2:31 AM_Roland Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Yes it fixed my problem. I hope it will fix yours. Good luck!