有没有办法为脚手架指定输出文件夹?在下面的示例中,我希望生成的上下文文件放在“DataAccess”文件夹
中Scaffold DbContext Product WebAPIContext -Folder DataAccess
这会返回以下错误:
Invoke-Scaffolder : A parameter cannot be found that matches parameter name 'Folder'.At line:1
char:49
+ Scaffold DbContext Product WebAPIContext -Folder <<<< DataAccess
+ CategoryInfo : InvalidArgument: (:) [Invoke-Scaffolder], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,T4Scaffolding.Cmdlets.InvokeScaffolderCmdlet
支持吗?