Missing “Ado.Net Entity Data Model” on Visual Studio 2013

前端 未结 11 1090
星月不相逢
星月不相逢 2020-12-03 04:50

I have created new web project but I can\'t find ADO.net Entity DAta Model to add it.

\"enter

11条回答
  •  日久生厌
    2020-12-03 05:20

    My solution was none like the above. The .msi file was nowhere in the folders suggested in prior answers, nor doing a search in my hard drive found any EFTools.msi instances.

    So the failsafe approach came through this article (since the author appears to have completely removed the page from the server, I've changed the URL to a version of the page stored in Google's cache), which was poorly written by a chinese fella, so I'm gonna try to rewrite the steps in a clearer way:

    The solution is as follows:

    1. Open your VS2013 installation ISO (or pop the DVD in) and navigate to "\packages\EFTools" folder;
    2. There you will find 2 files (a .cab file and a .msi file);
    3. Copy both files to a directory on your hard drive;
    4. [Optional]: You can create in that same directory, an empty .txt file ("Log.txt") so that the installation log output will be redirected to it later;
    5. Open a MS-DOS command prompt (with administrative rights) and type the command: EFTools.msi USING_EXUIH=1 /log "Log.txt" [NOTE: If you did not perform step #4, then you do not need to type from the ' /log' on (inclusive)]
    6. Wait patiently while the installation process finishes. Takes quite some time (guess never hurts to remind you that this needs to be done with VS2013 closed). The installation should go fine, anything weird will be logged into the text file (the one you created in step #4).

    Or, you might just double-click the .msi file if you are feeling brave..

    After installation, open VS2013 and try adding a new item to the Models folder. The "ADO.NET Entity Data Model" should have reappeared under the "Data" tab.

    Recognition goes to the anonymous chinese poster on that link (er, "Melinda"?) - xiè-xiè!

提交回复
热议问题