Add .Net Framework 4.0 into setup project
c#
Solution
If you are using the Visual Studio installer setup project, go to the Setup Projects Properties and click the Prerequisites button, you then need to select your required framework(3.5 does not work out of the Box look at section 2.3.1.1 ). Then you select `Download prerequisites from the same location as my application`. This will include the Framework as part of your Setup.
Problem
Possible Duplicate: Make an Installation program for C# applications and include .NET Framework installer into the setup I have windows application into .net framework 4.0, I want to add .net framework 4.0 into setup file.. I have added it using Prerequisites,but when i start to download it it required internet connection. and file is about 250 MB is it possible that when i start to install application, it also install .net framework automatically ?