Visual studio web dev expresses a hang by adding an entity structure

Im using the VS express web developer and trying to create a new MVC project. The problem is that VS freezes when adding EntityFramework to the project. His attempt to add EntityFramework 4.1.10331.0 to the MVC 3 project. Any ideas what might happen?

+6
source share
2 answers

It has been a while since you asked this question, but I recently came across a similar problem, except that MVC4 added EntityFramework.5.0.0 to Visual Studio 2012 Ultimate.

The problem was that I was trying to create a project in a network folder (I am running Windows 7 in a virtual machine on top of OSX).

The problem is that the network folder is not considered a trusted location. I needed to go to Control Panel → Internet Options, click the "Security" tab, click "Local Intranet" and click the "Sites" button.

In the popping up Local Intranet dialog box, I turned off Automatic Intranet Network Discovery and check the box "Enable all network paths (UNC)"

Now I assume that Visual Studio and / or nuGet sees the network folder as a trusted location, and EntityFramework.5.0.0 is installed along with everything else, which requires a new MVC 4 project.

The loan belongs to my colleague who handed me this SuperUser post .

+4
source

A bit of an old question, but today it is a problem, so this may help someone find a solution.

I don’t have enough comments to comment on Chris Cameron’s answer, so I apologize for introducing him as a new answer - all loans must go to Chris. I found that for it to work, I also need to check "Enable all local (intranet) sites not listed in other zones." Then Chris’s decision worked like a charm.

0
source

Source: https://habr.com/ru/post/897416/


All Articles