Cannot add ADO.NET Entity Data Model to web application project

Last post 11-02-2009 1:41 PM by helios90. 5 replies.

Sort Posts:

  • Cannot add ADO.NET Entity Data Model to web application project

    12-10-2007, 1:06 PM
    • Member
      9 point Member
    • mike.j.pappas
    • Member since 12-10-2007, 5:56 PM
    • Fairfield, IA
    • Posts 9

    I have Visual Studio 2008 RTM installed as well as the 3.5 Extensions Preview.  I have created a new project using the ASP.NET 3.5 Exteniosn Web Application template.  When I try to add a new ADO.NET Entity Data Model (edmx) I cannot seem to find it in the list of possible items to add.  The only item template remotely close to it is "ADO.NET Data Service."

    How do I get this to show up in my template list?

  • Re: Cannot add ADO.NET Entity Data Model to web application project

    12-10-2007, 1:16 PM
    • Contributor
      2,024 point Contributor
    • marcind
    • Member since 09-06-2007, 5:11 AM
    • Redmond, WA
    • Posts 410

    It should show up in the top-level category (e.g. Visual C#) of the Add New Item wizard as ADO.NET Entity Data Model.

    Marcin Dobosz
    SDE, ASP.NET Team, Microsoft
    Read my blog
  • Re: Cannot add ADO.NET Entity Data Model to web application project

    12-10-2007, 2:29 PM
    Answer
    • Member
      9 point Member
    • mike.j.pappas
    • Member since 12-10-2007, 5:56 PM
    • Fairfield, IA
    • Posts 9

    That's also what I was expecting.  The reason why this item template did not appear was that I had not installed the Entity Framework tools.  I guess it would have helped to read the release notes for the Extensions 3.5. Stick out tongue

    The link to the EF tools is: http://www.microsoft.com/downloads/details.aspx?FamilyId=D8AE4404-8E05-41FC-94C8-C73D9E238F82&displaylang=en

     

  • Re: Cannot add ADO.NET Entity Data Model to web application project

    04-27-2009, 4:47 PM
    • Member
      2 point Member
    • dbedassa
    • Member since 04-27-2009, 8:43 PM
    • Posts 1

    If you have Visual Studio 2008 SP1, may be you just need to target your project to .net 3.5. 

    Have you checked that your project is targeted to the .net 3.5 framework (rather that the .net 2.0 framework)?

    Right Click on your project >> Properties >> "Application" tab >> Target Framework.

  • Re: Cannot add ADO.NET Entity Data Model to web application project

    05-12-2009, 8:08 PM
    • Member
      3 point Member
    • JPEvans
    • Member since 05-12-2009, 7:28 PM
    • Posts 13

    Hi,

     

    I tried the link you gave above but it redirects me to a different link during download to fix an error but still it errors out even after i download THAT fix.  What a pain.  Why can't they just include this on the VS2008 CD?  Seems like they could make it an option kind of like the different software.

     

    Patrick

  • Re: Cannot add ADO.NET Entity Data Model to web application project

    11-02-2009, 1:41 PM
    • Member
      2 point Member
    • helios90
    • Member since 11-02-2009, 1:29 PM
    • Posts 1

    thanks much.  This was what I needed.

Page 1 of 1 (6 items)