简体   繁体   English

我想从头开始创建一个新项目

[英]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.

相关问题 如何将新项目添加到现有项目并从新项目创建 dll 文件? - How can i add a new project to my existing already project and create a dll file from the new project? 我无法启动新的WPF项目 - I can't start a new WPF Project 我需要调用查询时,是否需要从EntityFramework ObjectContext创建新实例? - Do I need to create a new instance from EntityFramework ObjectContext anytime that I want call query? 希望文字在新行开始 - Want text to start on a new line 如何在“创建新屏幕”上创建一个按钮,该按钮将在Lightswitch中保存,关闭并启动新的“创建新屏幕”? - How do I create a button on a “Create New Screen” that will Save, Close and Start a new “Create New Screen” in Lightswitch? 如果要显示数据库中的数据,是否应该在BLL项目类中创建与DAL项目中的poco类相同的类并将其返回给UI项目? - Should I create in BLL project class the same like poco class in DAL project and return it to UI project if I want to display data from database? 我想创建一个操作C#项目文件的工具 - I want to create a tool that manipulates C# project files 我想在datagridview中添加数据而不是创建一个新的 - I want to ADD the data in the datagridview not create a new one C#如何最好地从“文件”菜单创建“新项目”选项 - C# How can I best create a 'New Project' option from File menu 我通过 Visual Studio 创建了 mutil-project 模板,但我想在创建项目时删除根文件夹 - I create mutil-project template by visual studio , but I want remove the root folder when I create project
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM