MVC Project References and Nuget

It’s been a while, and I am out of practice. I have a question for you guys. I have an MVC3 (empty) application. The template install an older version of EntityFramework, complete with packages file. Nuget wasn’t recognizing that it was installed, but would allow to update it, so I did. I did so, just so I could do an uninstall of it. I want EF gone. Nuget doesn’t seem to have an uninstall option though. I’m probably missing it. If there is one, can you tell me how to do it. Otherwise, can you tell me what references I need to remove from the project (besides deleting the packages file). Is it just System.Data.Entity, or is there anything else? Thanks!

If the UI is failing, just run the package management console and run ‘uninstall-package PACKAGENAME’ – not sure what the EF’s is, but it would be the same name as the folder in the packages directory.

That wasn’t exactly my question. The package contains EntityFramework.dll. But there are things that DLL references that are part of the core system, and already present. Therefore, they aren’t distributed with the package. I needed to know what these stocks things were. But I figured it out by creating a Class Library stub and importing the package, then comparing what was added with what was there before.

Your question was “I can’t find the uninstall button, how do I remove it” – uninstall package does just that. It is what the UI calls.

Yeah I guess that was part of it. =) I tested an install to a clean Class Library to see. It also adds System.Data.Entity as well as the custom EntityFramework.dll. In addition, it may add the ComponentModel.DataAnnotations namespace, but MVC also needs that, so you can just remove the EF dll and the System.Data.Entity.