locked
VS 2017 can't open EntityFramework Entity Data Model file. RRS feed

  • Question

  • I installed the new Visual studio 2017 in french by error everything was working fine. I was ablo to open my EDMX file and my Database project. 2 days ago I decided to reinstall VS2017 in english, since then when I double click my EDMX file it open has XML. And in my database solution, I have 2 database project that can't be loaded.

    I tried to reinstall SSDT but nothing. Anyone has a clue?


    • Edited by poodigne Wednesday, November 23, 2016 1:36 PM
    Wednesday, November 23, 2016 1:36 PM

Answers

  • Hi friend,

    Please refer to the following steps and screenshot:

    right-click the edmx file-> choose Open with->choose ADO.NET Entity Data Model Designer

    Sincerely,

    Oscar


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    • Edited by Oscar_Wu Tuesday, November 29, 2016 8:19 AM
    • Marked as answer by poodigne Tuesday, November 29, 2016 2:04 PM
    Tuesday, November 29, 2016 8:18 AM

All replies

  • Hi poodigne,

    >>I tried to reinstall SSDT but nothing

    Where you download the SSDT for VS2017 RC? Would you please share me a link, I have not found it from MSDN.

    >>since then when I double click my EDMX file it open has XML.

    Please don’t open the edmx file by double click. Please add the edmx file with the following steps:

    Right-click the project->Add->Existing Item->choose your edmx file

    In my side, I create a edmx file with VS2015 Enterprise, and open it with VS2017 RC without any problems based on above steps.

    In essentially, the edmx file is xml format, when you double click the edmx file, the file will be opened in xml format.

    Please let me know your latest results.

    Sincerely,

    Oscar


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    • Edited by Oscar_Wu Monday, November 28, 2016 2:50 AM
    Monday, November 28, 2016 2:47 AM
  • >> Where you download the SSDT for VS2017 RC? Would you please share me a link, I have not found it from MSDN.

    Really didn't verified this. When I first installed VS2017 RC, I was able to open my EDMX files and Database project.

    >> Please don’t open the edmx file by double click. Please add the edmx file with the following steps:

    >> Right-click the project->Add->Existing Item->choose your edmx file

    Tried didn't worked. :(
    Monday, November 28, 2016 12:55 PM
  • Hi friend,

    Please refer to the following steps and screenshot:

    right-click the edmx file-> choose Open with->choose ADO.NET Entity Data Model Designer

    Sincerely,

    Oscar


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.


    • Edited by Oscar_Wu Tuesday, November 29, 2016 8:19 AM
    • Marked as answer by poodigne Tuesday, November 29, 2016 2:04 PM
    Tuesday, November 29, 2016 8:18 AM
  • Hi Oscar
    >> right-click the edmx file-> choose Open with->choose ADO.NET Entity Data Model Designer

    Sadly, I don't even have the ADO.NET option in the list.

    • Edited by poodigne Tuesday, November 29, 2016 12:20 PM
    Tuesday, November 29, 2016 12:16 PM
  • Hi Oscard, I managed to finaly fix another issue I had, and it seems to have fixed the problem I described here.

    Thanks a lot for your help.

    https://social.msdn.microsoft.com/Forums/en-US/3e0e18a0-11da-4c95-aca0-022d3ad4ba64/error-when-updating-my-vs-2017-installation?forum=vssetup

    Tuesday, November 29, 2016 2:03 PM
  • Hi friend,

    Glad to know that you have resolved this issue, and thanks for sharing your solution here.  So it would be helpful for other members who meet the same issue as yours.

    Have a nice day.

    Sincerely,

    Oscar


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    Wednesday, November 30, 2016 1:31 AM