I have performed following to solve this issue:
- In Package Manager check if you have MVCScffolding or T4Scaffolding (Core or pre release for vs2013)
- Uninstall all packaged that depend on any of MVCScaffolding or T4Scaffolding
- Copy CodeTemplates Folder in full (Do not replace your custom templates but make sure you have rest of the files from root of this folder. I take that you have done that part as you have customised some templates so you know where this folder is)
- Build Your project and close it.
- Restart Visual Studio under admin mode
- Open Package Manager Console (it should not have any errors and you can see PM> without errors.
- Right Click on Controller folder and choose Add->New Scaffolding Item or Choose Add->Controller both should ask which one you want and then choose MVC5 scaffold or which ever appears in list.
- You will then get to select your parameters if its controller you might need to choose DBContext or repository etc.
This produced the controller and relevant views for me.
I added a custom partial view called QuickView in that folder however this scaffolding procedure did not consider that and only generated views that it was doing by default. I am not sure if you need to add these custom views in a file to tell Scaffolder to generate those as well.