【发布时间】:2012-09-29 19:14:08
【问题描述】:
我使用 NuGet 包管理器在 VS2012 Express Web 中安装 MVCMailer - 并得到一个绿色勾号,表示它已正确安装。
但是,当尝试使用 Scaffold 命令设置模板/视图时,我看到以下内容:
PM> Scaffold Mailer.Razor UserMailer BookingUpdate
Invoke-Scaffolder : A positional parameter cannot be found that
accepts argument 'UserMailer'.
At line:1 char:9
+ Scaffold <<<< Mailer.Razor UserMailer BookingUpdate
+ CategoryInfo : InvalidArgument: (:) [Invoke-Scaffolder],
ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,
T4Scaffolding.Cmdlets.InvokeScaffolderCmdlet
任何想法我哪里出错了?
谢谢,
标记
【问题讨论】:
标签: asp.net asp.net-mvc asp.net-mvc-3 mvcmailer