开发者

VS Setup Project - Launch condition for .Net Framework 3.5 or higher

I need to create a setup proje开发者_JAVA技巧ct for my application. I need to add launch condition to make sure user has .Net framework 3.5 or higher installed on his machine. Is there a way to do so?

I have tried creating the setup project in VS 2005, 2008 and 2010. I have also tried setting up the version in launch condition to be 3.5 and then opened the project file in notepad to set "Allow Later Versions" to true, without any success.

The setup still asks me to download .Net framework 3.5 when I have .Net framework 4.0 installed on my system.

Any help will be deeply appreciated.

Thanks, Manjeet


I think you don't want to edit project file manually. "Allow Later versions" flag is for your application not for .net framework I think; isn't it?

If you do as per this tutorial it should work fine. I've never seen your problem before. I think you must have done something wrong, other wise it should work fine.


I was also experiencing the same problem. I found that
- Visual studio 2008 started to use ToolsVersion attribute to target the framework
- Framework 4.0 doesn't include framework 3.5

In my case, I installed 3.5 (along with 4.0) and the setup is working fine now.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜