If the project is not using any features from .NET 3.5, how do you downgrade to 2.0?
Asked
Active
Viewed 2,659 times
1
-
Is there a good reason since 3.5 runs on the same engine as 2.0 – rerun May 23 '11 at 21:17
-
1@rerun: Absolutely - just because 2.0 is installed doesn't mean that 3.5 is. – Jon Skeet May 23 '11 at 21:18
-
Yeah, I jumped the gun. I thought the client would be happy to upgrade, but the admins aren't too keen on getting it installed on all the computers on the network. Meanwhile, I have done some work and don't feel like copying all that to the backup I have of the 2.0 version. – richard May 23 '11 at 21:18
-
Interestingly enough, it already IS .NET 2.0. When I opened the project in VS 2008 for the first time, it told me it was going to upgrade, so I thought that meant it was upgrading it to .net 3.5, but apparently not. Thanks everyone! – richard May 23 '11 at 21:22
4 Answers
5
Simply go into the project properties, and under "Application" find the "Target framework" option and set it to 2.0.

Jon Skeet
- 1,421,763
- 867
- 9,128
- 9,194
2
Go to project properties and select different destination framework on Application tab.

Marco
- 56,740
- 14
- 129
- 152
0
Solution Explorer->Right-click on the project->Properties->Change runtime version to 2.0

Aliostad
- 80,612
- 21
- 160
- 208
-1
Open your .vcproj
and then change the line to:
TargetFrameworkVersion="131072"
It should do the trick

Msonic
- 1,456
- 15
- 25