简体   繁体   English

VS2017安装项目 - 在哪里?

[英]VS2017 Setup Project - Where?

I'm trying to create a setup project / installer for a C# project but can't find the 'setup project' template in VS2017. 我正在尝试为C#项目创建一个安装项目/安装程序,但在VS2017中找不到“安装项目”模板。

In VS2015 it was under: Other Project Types >> Setup and Deployment >> Visual Studio Installer and I used that several times without any problem. 在VS2015中它是:其他项目类型>>设置和部署>> Visual Studio Installer和我多次使用它没有任何问题。

That is not present on my VS2017. 这在VS2017上没有。 Is there something else I need to install? 我还需要安装其他东西吗?

I've looked through all the installed options and also tried the Online section, but searching for 'Setup' only brings up 'Mastercam NET-Hook'. 我查看了所有已安装的选项并尝试了在线部分,但搜索“设置”只会显示“Mastercam NET-Hook”。

I've also looked on Stack Overflow but all the questions appear to be about problems within a Setup Project and not creating it in the first place. 我也查看了Stack Overflow,但所有问题似乎都与安装项目中的问题有关,而不是首先创建问题。

Google brings up lots of questions for earlier versions (2013 etc) but nothing I could see for VS2017. 谷歌为早期版本(2013年等)带来了很多问题,但我无法看到VS2017。

What am I missing? 我错过了什么?

您必须使用官方Microsoft扩展来执行此操作,它可以在此处获得

You need to install the "Microsoft Visual Studio 2017 Installer Projects". 您需要安装“Microsoft Visual Studio 2017安装程序项目”。 Open up MSVS Tools->Extensions and Updates (Extensions and Updates popup form appears) Online->Visual Studio Marketplace->Tools->Setup & Deployment. 打开MSVS工具 - >扩展和更新(出现扩展和更新弹出窗体)在线 - > Visual Studio市场 - >工具 - >设置和部署。 Then select "Microsoft Visual Studio 2017 Installer Projects" (today, August 20, 2018, the version is 0.8.8). 然后选择“Microsoft Visual Studio 2017安装程序项目”(今天,2018年8月20日,版本为0.8.8)。

NOTES: These are more of the classical MS installers we all know and love used since VS6 days. 注意:这些是自VS6天以来我们都知道和喜爱的经典MS安装程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM