MvcMailer
MvcMailer copied to clipboard
Error Scaffolding (different than previous scaffolding issues)
In a brand-new MVC 4 Beta project, with a brand-new version of NuGet and the latest (1.0.5) version of T4Scaffolding the command
PM> Scaffold Mailer UserMailer Welcome,PasswordReset
Displays this error:
Cannot resolve alias 'Scaffold' because it refers to term 'Invoke-Scaffolder', which is not recognized as a cmdlet, function, operable program, or script file. Verify the term and try again. At line:1 char:9 + Scaffold <<<< Mailer UserMailer Welcome,PasswordReset + CategoryInfo : ObjectNotFound: (Scaffold:String) [], CommandNotFoundException + FullyQualifiedErrorId : AliasNotResolvedException
The issue is also on StackOverflow:
http://stackoverflow.com/questions/10241797/error-scaffolding-with-mvcmailer-in-mvc-4