Visual Studio 2008: Setup Project Targeting .NET Framework 2.0

environment: Visual Studio 2008, .NET/C# Project Targeting Framework 2.0, Standard Setup Project

problem: Setup always requests framework 3.5

solution

  • All deployed projects must target framework 2.0
  • Prerequistes of setup project must be 2.0 (not 3.5). ATTENTION I couldn't change this separately for Release build and had to this manually using notepad/gvim
  • Launch condition must be changed to 2.0 (I had to clean and rebuild a couple of times until it let me select 2.0)

Require_DotNet_3Dot5_1

Require_DotNet_3Dot5_2

 Require_DotNet_3Dot5_3

 Require_DotNet_3Dot5_4

 Require_DotNet_3Dot5_5

 Require_DotNet_3Dot5_6

 

http://www.eisber.net/blog/archives/53

http://www.codeproject.com/KB/dotnet/targetnet2fromvs2008.aspx?print=true (great)

posted @   emanlee  阅读(617)  评论(0编辑  收藏  举报
编辑推荐:
· 深入理解 Mybatis 分库分表执行原理
· 如何打造一个高并发系统?
· .NET Core GC压缩(compact_phase)底层原理浅谈
· 现代计算机视觉入门之:什么是图片特征编码
· .NET 9 new features-C#13新的锁类型和语义
阅读排行:
· 手把手教你在本地部署DeepSeek R1,搭建web-ui ,建议收藏!
· Spring AI + Ollama 实现 deepseek-r1 的API服务和调用
· 《HelloGitHub》第 106 期
· 数据库服务器 SQL Server 版本升级公告
· C#/.NET/.NET Core技术前沿周刊 | 第 23 期(2025年1.20-1.26)
历史上的今天:
2007-08-22 "Performance Monitor Counter Requirement" When installing SQL Server 2005 Express
点击右上角即可分享
微信分享提示