如何在Visual Studio 2019中创建EXE文件 [英] How do I create an EXE file in Visual Studio 2019

查看:12010
本文介绍了如何在Visual Studio 2019中创建EXE文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用以前版本的Visual Studio来创建.exe文件。当我构建发布版本时,我能够在Bin / Release文件夹中找到.exe文件。在VS 2019中,当我构建一个发行版本时,我在Release文件夹中看到的只是一个.dll和一些
其他文件。 .EXE在哪里?

I have used previous editions of Visual Studio to create .exe files. When I Build a release version, I was able to find the .exe file in the Bin/Release folder. In VS 2019 when I build a release version, all I see in the Release folder are a .dll and a few other files. Where is the .EXE?

其他信息:这是我正在尝试构建的C#控制台应用程序。

Additional info: this is a C# console app I'm trying to build.

推荐答案

将动态库作为输出意味着您使用了其中一种.NET核心项目类型。

Getting a dynamic library as output means that you used one of the .NET core project types.

查看项目模板名称后括号()中的单词。您希望模板(.NET Framework)不是(.NET Core)或(.NET Standard)。

Look at the words in parenthesis () after the project template name. You want the templates that say (.NET Framework) not (.NET Core) or (.NET Standard).


这篇关于如何在Visual Studio 2019中创建EXE文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆