Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2017 Project Installer missing .NET 4.7 option

I need to create a windows installer for a project built with .NET 4.7.

Visual Studio 2015 had an "Project Setup" project type, which is not present in VS 2017 anymore.

I've just found out about the official extention: Microsoft Visual Studio 2017 Installer Projects

The problem is, at the "prerequisites" section, there is no option for .NET 4.7 (see below)

enter image description here

like image 910
Pedro Henrique Avatar asked Jul 24 '17 19:07

Pedro Henrique


People also ask

How do I open Visual Studio installer in VS 2017?

There are many ways to open the Visual Studio Installer: In the Windows Start menu, you can search for "installer", and then select Visual Studio Installer from the results. If you have Visual Studio open, select Tools > Get Tools and Features..., which opens the Visual Studio Installer.


1 Answers

This question was answered at: https://blogs.msdn.microsoft.com/dotnet/2017/04/05/announcing-the-net-framework-4-7/

You can get the .NET 4.7 in Prerequisites of VS 2015 by installing the 4.7 Dev Pack (https://www.microsoft.com/en-us/download/details.aspx?id=55168).

For VS 2017, the same option will be made available in future version of Visual Studio 2017 updates. But, as a workaround you can make the same to appear by copying the VS 2015 ‘DotNetFX47’ folder to Microsoft SDKs location, after installing the 4.7 Dev Pack.

Copy folder ‘DotNetFX47’ from “…\Program Files (x86)\Microsoft Visual Studio 14.0\SDK\Bootstrapper\Packages\” to “…\Program Files (x86)\Microsoft SDKs\ClickOnce Bootstrapper\Packages\”.

like image 177
Vivek Mishra - MSFT Avatar answered Sep 24 '22 15:09

Vivek Mishra - MSFT