VSCODE C# 运行 找不到任务"BUILD"----C#常用命令

Posted on 2022-04-27 22:52  o0o0o9  阅读(1372)  评论(0)    收藏  举报

使用 Visual Studio Code 创建 .NET 类库 - .NET | Microsoft Docs

安装vscode、vscode c#相关拓展、MINIGW64

1.创建文件夹

2.用vscode打开文件夹

3.vscode内终端输入

dotnet new console --framework net6.0

4.运行应用,vscode内终端输入

dotnet run

5.发布文件

dotnet publish --configuration Release

 

博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3