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)
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.
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\”.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With