[英]I want to create a new project from start
I have created a C# .cs project from "dotnet new console".我从“dotnet new console”创建了一个 C# .cs 项目。 I was wondering how to build this project into an executable .exe file.
我想知道如何将这个项目构建成一个可执行的 .exe 文件。
static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
假设您使用的是 Visual Studio,那么您可以按 Control+B(构建)或 F5(构建并运行)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.