EF classes don't show up in when adding new API Controller <p>This question has been asked a few times in SO but nothing helped so far in my case.</p> <p>To an existing MVC project I added a model generated from a database (using database first). Now I would like to add a new API controller. However, neither my new model classes nor my data context class show up in "Add Controller" dialog:</p> <ul> <li>made sure I recompiled my dll</li> <li>restarted VS (2010)</li> <li>deleted AssemblyInfo.cs (as suggested in another SO post)</li> <li>checked with ILSpy to make sure models are in and have an Id</li> </ul> <p>My workaround is to put my models in another dll. However, I think that shouldn't be necessary...</p>