0
点赞
收藏
分享

微信扫一扫

.net 命令快速创建应用console

>dotnet new console -o MyApp -f net6.0

  • ​dotnet new console​​ 命令将为你新建控制台应用。
  • ​-o​​ 参数会创建名为​​MyApp​​ 的目录,用于存储应用并使用所需文件进行填充。
  • ​-f​​ 参数指示你正在创建 .NET 6 应用程序。

参考地址:​​https://dotnet.microsoft.com/zh-cn/learn/dotnet/hello-world-tutorial/create​​

举报

相关推荐

0 条评论