SmartCode 代码

版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
本文链接: https://blog.csdn.net/xiaomifengmaidi1/article/details/91817367

用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

如果还少文件 是因为数据库需要添加表

猜你喜欢

转载自blog.csdn.net/xiaomifengmaidi1/article/details/91817367