Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Not sure if this is will solve your problem, but it might help... when you use nuget, it manipulates your solution:</p> <ul> <li>EF nuget package is added to the \packages\ folder in your solution root</li> <li>A <code>packages.config</code> file is created for each project in the solution that you use nuget on</li> <li>A reference is added in the project file (*.csproj For c#) </li> </ul> <p>Sometimes you might need to change what nuget has done, and so you can check in these areas. In your case you might be better off deleting both EF versions manually and then adding EF5 in using nuget or whatever method suits.</p> <p>Sounds like you might have deleted the EF package, but not tidied up your packages.config and project files, so check there first (you'll want to edit them while your VS solution is closed). </p> <p>You're looking to remove lines starting <code>&lt;package id="EntityFramework"...</code> from each packages.config file. </p> <p>If you are looking to remove nuget altogether from your solution, the csproj files have an <code>&lt;itemgroup&gt;</code> with <code>&lt;Content Include="packages.config" /&gt;</code> - delete the whole itemgroup, there might be other references to this file that I've missed and you'll want to remove them too. </p> <p>Otherwise if you are just after removing the EF stuff, then look for the <code>&lt;itemgroup&gt;</code> that has your references, and make sure the reference for the unwanted EF version is not there. </p> <p>I think that's all you need - when you reload the solution in VS after making these changes, your references should come right. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload