Unable to create Web API 2 OData Controller with Actions using EF code-gen template...

Jun 8, 2014 at 2:12 PM
I have a couple of dev environments. In my older VS 2013 Ultimate, I can execute the Web API 2 OData Controller with Actions using Entity Framework template code to create classes.

The second is Visual Studio 2013 Ultimate with Update 2 RC. I can create other classes, however in trying to create the aforementioned, I get the following error:
Microsoft Visual Studio

There was an error running the selected code generator:

'Exception has been thrown by the target of an invocation.'
Since I have installed other components, I reset all settings through Tools / Import Export Settings / Reset All Settings.

I even completely uninstalled/re-installed - same issue on all fronts.

In both environments the code is exactly the same, connection to the same db.

Jul 3, 2014 at 5:00 PM
Edited Jul 3, 2014 at 5:01 PM
We have removed the template because of to many variants of VS, EF, & MVC.
Marked as answer by lelong37 on 7/3/2014 at 10:01 AM