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  阅读(618)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· 没有Manus邀请码?试试免邀请码的MGX或者开源的OpenManus吧
· 园子的第一款AI主题卫衣上架——"HELLO! HOW CAN I ASSIST YOU TODAY
历史上的今天:
2007-08-22 "Performance Monitor Counter Requirement" When installing SQL Server 2005 Express
点击右上角即可分享
微信分享提示