用smart code 代码生成器https://github.com/dotnetcore/SmartCode,代码生成少文件,发现命令有错误
dbug: SmartCode.App.BuildTasks.ProcessBuildTask[0]
--------Process.FileName:powershell,Args:dotnet-format Start--------
dotnet-format : The term 'dotnet-format' 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:1
+ dotnet-format
+ ~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (dotnet-format:String) [], Comma
ndNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
dbug: SmartCode.App.BuildTasks.ProcessBuildTask[0]
--------Process.FileName:powershell,Args:dotnet-format,Taken:3073.2197 End
安装下dotnet-format
dotnet tool install -g dotnet-format
如果还少文件 是因为数据库需要添加表