Changing the target framework for the setup file

One of my team member, kunal, was facing a problem while creating the setup project for v 20 using VS 2008. Even after just changing the target framework while creating the project did no help so had to search for the solution, and the solution that solved our problem is as follows,

1) Create a windows application project with target framework as v2.0

Select Target Framework

Select Target Framework

2) Create Setup and deployment project and select target framework as v2.0

Target Framework for Setup

Target Framework for Setup

3) Right-Click on setup project Name and select Properties, under properties select Prerequisites

Select Prerequisite

Select Prerequistes

4) Check .NET framework 2.0 and uncheck .NET framework 3.5

Select Framework in Prerequisite

Select Framework in Prerequisite

5) Under Solution Explorer double click on Microsoft.NET framework under

Setup project.

Select the Framwork to change the version

Select the Framwork to change the version

6) Right-Click on .NET framework select properties and change the version to v2.0…

Change Framework Version

Change Framework Version