Microsoft 开发人员网络 > 论坛主页 > .NET Framework Setup > Missing ADO.NET Entity Framework template after installing SP1
提出问题提出问题
 

已答复Missing ADO.NET Entity Framework template after installing SP1

  • 2009年6月5日 13:48_Roland 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     

    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!

答案

  • 2009年6月12日 13:25_Roland 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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

全部回复

  • 2009年6月8日 9:28YiChun ChenMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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.
  • 2009年6月11日 23:47juan32 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Hi, can you upload this files, please?.
    I have the same problem than _Roland but I don't have them

    Thanks.
  • 2009年6月12日 2:32YiChun ChenMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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.
  • 2009年6月12日 2:33YiChun ChenMSFT, 版主用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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!
  • 2009年6月12日 13:25_Roland 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     已答复

    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

  • 2009年7月3日 11:37Stefan Misch 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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
  • 2009年7月4日 12:16Stefan Misch 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    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
  • 2009年11月27日 7:03Bharath Reddy VasiReddy 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Stefan,
     

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


    Thanks
    Bharath Reddy VasiReddy
  • 22 小时 31 分钟以前_Roland 用户奖牌用户奖牌用户奖牌用户奖牌用户奖牌
     
    Yes it fixed my problem. I hope it will fix yours. Good luck!