Le réseau pour les développeurs > Forums - Accueil > .NET Framework Setup > Missing ADO.NET Entity Framework template after installing SP1
Poser une questionPoser une question
 

TraitéeMissing ADO.NET Entity Framework template after installing SP1

  • vendredi 5 juin 2009 13:48_Roland Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     

    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!

Réponses

  • vendredi 12 juin 2009 13:25_Roland Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée

    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

Toutes les réponses

  • lundi 8 juin 2009 09:28YiChun ChenMSFT, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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.
  • jeudi 11 juin 2009 23:47juan32 Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    Hi, can you upload this files, please?.
    I have the same problem than _Roland but I don't have them

    Thanks.
  • vendredi 12 juin 2009 02:32YiChun ChenMSFT, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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.
  • vendredi 12 juin 2009 02:33YiChun ChenMSFT, ModérateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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!
  • vendredi 12 juin 2009 13:25_Roland Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     Traitée

    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

  • vendredi 3 juillet 2009 11:37Stefan Misch Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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
  • samedi 4 juillet 2009 12:16Stefan Misch Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    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
  • vendredi 27 novembre 2009 07:03Bharath Reddy VasiReddy Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    Stefan,
     

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


    Thanks
    Bharath Reddy VasiReddy
  • samedi 28 novembre 2009 02:31_Roland Médailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateurMédailles de l'utilisateur
     
    Yes it fixed my problem. I hope it will fix yours. Good luck!