I have an existing project and for the last couple days I have been having major issues with it, major to me because I don't know how to fix them. The one that is frustrating me right now is this error
There was an error running the selected code generator: 'Object reference not set to an instance of an object'
I get this after I add a controller and try to generate a view from the controller. I have checked my entity framework references and everything is the same. I have looked around and have seen other questions about this, some say to reinstall visual studio, others say uninstall and reinstall Entity Framework. I thought about reinstalling Visual Studio but I also tried creating a new MVC project and have no issues at all when adding a controller and then adding a view from the controller.
This project was also bound to TFS, and I renamed the folder and opened the project so I could fix some issues and do some testing with it, so if I create any more issues after fixing the issues that I still had a fresh copy to work with.
EDIT
I took a look at that link and there was nothing in there that I seen that remotely looks like my issue, I even tried creating it as a partial view and same error.
I add a controller to the controller folder, then I right click in the action result and select Add View and this is where the error pops up, I try and create it as a partial view and same error