我尝试通过在包管理器控制台中输入命令“Install-Package MvcMailer”来安装 Mvc Mailer,但我收到以下错误消息:
Successfully installed 'MvcMailer 1.1'.
Successfully added 'MvcMailer 1.1' to MatchesHorsConcours.
Install-Package : The term 'Set-DefaultScaffolder' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name
, or if a path was included, verify that the path is correct and try again.
At line:1 char:16
+ Install-Package <<<< MvcMailer
+ CategoryInfo : NotSpecified: (:) [Install-Package], CommandNotFoundException
+ FullyQualifiedErrorId : NuGetCmdletUnhandledException,NuGet.PowerShell.Commands.InstallPackageCommand
好吧,事实上,它安装了 MvcMailer,但我猜在配置过程中出了点问题。
我已经安装了这两个包:
T4脚手架 1.0.2
Mvc脚手架 1.0.2