如何在Visual Studio 2017中创建安装项目?

如何在Visual Studio 2017中创建安装项目?

问题描述:

我最近重新格式化了我的电脑,不得不安装visual studio 2017社区版来代替visual studio 2015社区版。在后者中,我可以选择添加新项目>其他项目>创建安装项目,以便为应用程序创建
EXE。但是,在2017版本中,添加新项目窗格中没有"其他项目"节点。我该如何解决这个问题?

I recently reformatted my computer and had to install visual studio 2017 community edition in place of visual studio 2015 community edition. In the latter I had the option to add a new project > other projects > create setup project in order to create an EXE for applications. In the 2017 edition however, there is no 'other projects' node in the add new project pane. How can I fix this?

您好danielc92,

Hi danielc92,

欢迎来到MSDN论坛。

Welcome to MSDN forum.

为Visual Studio 2017安装工作负载后,"其他项目类型"节点将出现在添加新项目窗格中。如果您仍然无法找到它,请首先修复Visual Studio 2017,然后点击 - >工具 - >扩展程序和
更新以下载Microsoft Visual Studio 2017安装程序项目。

After you have installed workloads for visual studio 2017, "other project types" node will appear in the add new project pane. If you can't still find it, please repair visual studio 2017 firstly and then click->Tools->Extensions and Updates to download Microsoft Visual studio 2017 Installer Projects.

在此之后,您可以在创建新项目时找到它。

After this, you could find it when you create a new project.

祝你好运,

Joyce