开发者

Setup Project in Visual Studio 2010 Requires .NET 4.0

开发者 https://www.devze.com 2022-12-29 13:46 出处:网络
When setting up a Setup Project in Visual Studio 2010 and even to 开发者_如何学PythonI removing all the prerequistes .NET 4.0 is still required on the computer that runs the Installation. Deploying wi

When setting up a Setup Project in Visual Studio 2010 and even to 开发者_如何学PythonI 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

Setup Project in Visual Studio 2010 Requires .NET 4.0

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

Setup Project in Visual Studio 2010 Requires .NET 4.0


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

Setup Project in Visual Studio 2010 Requires .NET 4.0

0

精彩评论

暂无评论...
验证码 换一张
取 消