thefid
thefid

Reputation: 177

Old EntityFramework DLL referenced somewhere in project

I am currently receiving the following error when I build my MVC 5 project.

"Failed to resolve assembly reference. The path 'D:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\Tools..\IDE\EntityFramework.dll' must be either local to this computer or part of your trusted zone. If you have downloaded this template, you may need to 'Unblock' it using the properties page for the template file in File Explorer"

The problem started after I had an issue with my hard drive and had to re-install VS 2013. It is no longer installed on the D drive. I salvaged the project and simply reused it with the new installation of VS (on Windows 7).

I have also removed Entity Framework 6.1.1 from the project and re-installed to no avail. I seem to have a reference somewhere in the project and so far unable to find it.

I am relatively new to Visual Studio and any assistance would be appreciated.

Upvotes: 1

Views: 291

Answers (2)

thefid
thefid

Reputation: 177

The answer is posted in the comments of the original question. The reference was in the registry.

Upvotes: 1

chefjuanpi
chefjuanpi

Reputation: 1697

the problem is easy to resolve, your project's references going to the old paths, check the references in the solution explorer.

it'S sure the exist some references with an alert signal. you need change the path of this ref to the correct place, maybe exist more references with problems.

or install entity for nuget package

/tools / nuget / nuget console

and write

Install-Package EntityFramework -Version 6.1.1

Upvotes: 0

Related Questions