T4 Scaffolding not working with visual studio 2015
FIX:
- Uninstall all 3 packages if you have them installed already
- Search NuGet Package Manager for 'MvcScaffolding.VS2015' and add it to the project
- Restart Visual Studio and the errors when starting up Package Manager Console will be gone.
For your interest the new packages can be found here:
If you simply install the MvcScaffolding package, the other packages will be pulled through. Hope this helps Nick. Please mark as answered if this resolves your issue.
----------------------------------------------------------------------------------
Additional Info: I received an email from Steve Sanderson (one of the main authors of T4Scaffolding / MVC Scaffolding):
I’m afraid MvcScaffolding/T4Scaffolding are no longer supported or maintained, as they were superseded by the ASP.NET scaffolding feature a few years back.
In case it helps, the source for MvcScaffolding/T4Scaffolding is at https://mvcscaffolding.codeplex.com/.
There were 2 options:
- Port existing scripts over to Asp.Net Scaffolding
- Take the source for MvcScaffolding and T4Scaffolding and fix thebug introduced by VS2013 and above.