smsohan/MvcMailer — Issue #37: Scaffold Mailer error....
Author: andrewknightley
Created: 2012-01-24 11:41:52+00:00
State: open

When using the scaffold command I get the following error,
I'm using on a fresh C# project with both web application and MVC 3.0

PM> Scaffold Mailer UserMailer PasswordReset, PasswordNew
Invoke-Scaffolder : A positional parameter cannot be found that accepts argument 'UserMailer'.
At line:1 char:9
+ Scaffold <<<< Mailer UserMailer PasswordReset, PasswordNew
+ CategoryInfo : InvalidArgument: (:) [Invoke-Scaffolder], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,T4Scaffolding.Cmdlets.InvokeScaffolderCmdlet

Thanks in advance