Fix: .Net 2.0 or 3.5 Setup Project Requires .Net Framework version 4.0
来源:互联网 发布:水利预算软件app 编辑:程序博客网 时间:2024/06/05 22:40
Sorry again folks again I was MIA with loads and loads of work. trust me i have more than 30 drafts which i started and never got time to finish. anyway coming to the point this morning i was trying to deploy a windows service project using the setup project templates in visual studio 2010, and when i tried to install it on client machine i got the following message:
But I’m pretty sure that i had the project targeted to .net Framework 3.5 SP1, but still it was requiring .net 4.0. as usual i did a Google search and foundthis article with the trick to resolve it.
actually it was the dependencies in the setup project causing the issue, it was still targetting 4.0 even though my application targets .net 3.5 and by default VS2010 set the dependency to .Net 4.0.
if you have this issue all you have to do is the following :
- Double click on the dependencies of the setup project.
- Click on the .Net Framework
- And you will see the Property window will get enabled.
- Change the Version property to your desired .net Framework ( in my case 3.5).
- and build your setup again.
- Fix: .Net 2.0 or 3.5 Setup Project Requires .Net Framework version 4.0
- VS.NET setup project
- .NET Framework version 4.0 SP1
- Inno setup 打包。net framework 2.0
- Create setup project using .net
- 安装mysql提示This application requires .NET framework 4.0.
- 安装mysql提示This application requires .NET framework 4.0
- .NET Framework 的 Quirk Version
- C# SetUp Factory 7.0把.net Framework 2.0打包进去
- .NET Framework 4.0 .NET Framework 3.5
- Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead. Please fix project prope
- Setup Factory 7.0打包.NET FRAMEWORK
- Setup Factory 打包.net framework 脚本
- Setup Factory 7.0打包.NET FRAMEWORK
- Inno Setup:Checking .NET Framework versions
- 添加引用时出现one of its dependencies,requires a later version of the .NET Framework than the one specified
- asp.net 最简单的处理System.Data.OracleClient requires Oracle client software version 8.1.7 or greater
- 安装.NetFarmWork是提示出现:Setup cannot continue because the version of the .NET Framework is incompatible
- Download stevens.advprog.tar.Z
- C程序中函数指针
- 饭客网络(基础教程)
- C# XML 的序列化和反序列化
- unix 环境高级编成 apue.h ,apueerror.h的代码
- Fix: .Net 2.0 or 3.5 Setup Project Requires .Net Framework version 4.0
- 图像地图
- java IO (七) 扩展应用
- 放假了,看看c语言
- #define的用法
- HOW TIME FLIES
- UseSubmitBehavior (前章)
- 电子计算机的诞生与发展
- BW知识点总结及面试要点