Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Setup Project in Visual Studio 2010 Requires .NET 4.0

When setting up a Setup Project in Visual Studio 2010 and even to I removing all the prerequistes .NET 4.0 is still required on the computer that runs the Installation. Deploying with ClickOnce works but is not an option, but at least it doesn't ask for .NET 4.0.

Is there a way to create a Setup Project in Visual Studio 2010 that doesn't require .NET 4.0 on installation?


Edit

This is one of the test configurations i've tested

alt text

And this is what it looks like when I run setup.exe or the .msi

alt text

like image 966
Filip Ekberg Avatar asked May 03 '10 14:05

Filip Ekberg


People also ask

What is the .NET framework for Visual Studio 2010?

The functionality of Visual Studio 2010, . NET Framework 4 and Silverlight 4 creates a powerful and unique combination, opening up new opportunities for developers to build applications that take advantage of new and existing devices, as well as emerging platforms like cloud services.”

Does Visual Studio require .NET framework?

Visual Studio requires . NET Framework 4.8 to run. If . NET Framework 4.8 isn't already installed, it will be installed during setup.

Is .NET framework 4.0 still supported?

Support for . NET Framework 4 on Windows Server 2003 SP2 ended on July 14, 2015, and support on all other operating systems ended on January 12, 2016.


1 Answers

Right click on the setup project in the solution explorer -> View -> Launch Conditions and set the appropriate .NET framework version:

alt text

like image 61
Darin Dimitrov Avatar answered Sep 21 '22 14:09

Darin Dimitrov