Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Compiling for older version of .net in VS2010

Is it possible to compile using an older version of .net framework while using VS2010? (which requires .net 4 to run if I'm not mistaken). If so -how is it done?

like image 946
akapulko2020 Avatar asked Feb 27 '23 13:02

akapulko2020


1 Answers

Just set the target framework in the project properties (in the top tab, IIRC). You won't be able to target .NET 1.1 or 1.0, but you should be able to target 2.0/3.0/3.5.

like image 141
Jon Skeet Avatar answered Mar 07 '23 18:03

Jon Skeet