简体   繁体   中英

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

替代文字

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

替代文字

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

替代文字

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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