T4 Scaffolding not working with visual studio 2015 T4 Scaffolding not working with visual studio 2015 powershell powershell

T4 Scaffolding not working with visual studio 2015


FIX:

  1. Uninstall all 3 packages if you have them installed already
  2. Search NuGet Package Manager for 'MvcScaffolding.VS2015' and add it to the project
  3. 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:

  1. Port existing scripts over to Asp.Net Scaffolding
  2. Take the source for MvcScaffolding and T4Scaffolding and fix thebug introduced by VS2013 and above.