Quantcast
Channel: Visual Studio and Visual Web Developer Express
Viewing all articles
Browse latest Browse all 3509

Scaffold template not working VS2k13 Premium

$
0
0

I am opening an exisitng project. API + MVC Hybrid. Dir Structure :

  • SolutionName/PrimaryProjectName/Controllers/MVC - for all MVC 4 controllers
  • SolutionName/PrimaryProjectName/Controllers/API for all Web API controllers

When I do right click on controllers folder add --> Controller, I see only API controller options and nothing for MVC. So I mannually created controller and right clicked on ActionResult to add view, like you guessed nothing !

Here is the what surprised me, I created a brand new MVC / API solution and it works ! I see all options for MVC and API controllers and everything looks normal here. I have a hunch that I've to do something with my Nuget Packages or some Config ...

Have you everr seen this issue ? How were you able to fix it ?


Viewing all articles
Browse latest Browse all 3509

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>