Archive for December, 2007

Visual Studio 2008: Setup Project Targeting .NET Framework 2.0

Friday, December 21st, 2007

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

problem: Setup always requests framework 3.5


  • 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)


Same problem

Visual Studio 2008: Release vs. Debug

Tuesday, December 11th, 2007

Some observations:

  • String pooling seems to be enabled in Debug (although not selected)
  • __FILE__ is expanded with relative path in release build, but contains absolute paths in debug mode. The "use full paths" option was set to "no" in Release and Debug