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 @ 2009-08-22 13:36  emanlee  阅读(614)  评论(0编辑  收藏  举报