Setup Project in Visual Studio 2010 Requires .NET 4.0

馋奶兔 提交于 2019-11-29 02:18:50

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/2758604/setup-project-in-visual-studio-2010-requires-net-4-0

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!