<p>I have a bunch of <strong>.NET</strong> frameworks installed on my machine.<br>
I know that with the <strong>Java JDK</strong>, I can use the <strong>6.0</strong> version to target <strong>5.0</strong> and earlier.  </p>

<p>Can I do something similar with the <strong>.NET</strong> framework - target <strong>1.0</strong> and <strong>2.0</strong> with the <strong>3.0</strong> framework?</p>

[{'answer_id': 31344, 'author': 'Frank Krueger', 'author_id': 338, 'author_profile': 'https://Stackoverflow.com/users/338', 'pm_score': 1, 'selected': False, 'text': "<p>(<strong>Updated</strong>)</p>\n\n<p>You need to compile with the 1.0 compilers. These are only available with the 1.0 release of the runtime/SDK.</p>\n\n<p>The 2.0/3.5 compilers won't emit 1.0-compatible assemblies.</p>\n\n<p>Visual Studio 2008 can generate 2.0 assemblies, but 1.0 was left off.</p>\n"}, {'answer_id': 31347, 'author': 'Judah Gabriel Himango', 'author_id': 536, 'author_profile': 'https://Stackoverflow.com/users/536', 'pm_score': 3, 'selected': True, 'text': "<p>Visual Studio 2008 was the first to support targeting older versions of .NET. Unfortunately, it supports only .NET 2 and up.</p>\n\n<p>In other words, you'll need .NET framework SDK 1 or 1.1 to do this.</p>\n"}, {'answer_id': 31367, 'author': 'Duncan Smart', 'author_id': 1278, 'author_profile': 'https://Stackoverflow.com/users/1278', 'pm_score': 2, 'selected': False, 'text': '<p>We use Visual Studio 2008 to maintain a .NET 1.1 WebForms app using <a href="http://www.codeplex.com/MSBee" rel="nofollow noreferrer" title="MSBee">MSBee</a>. It required a bit of initial *.csproj/msbuild file hackery, but works very well. Of course, you\'re limited to .NET 1.1 features (it uses the old 1.1 compilers), so no Generics or LINQ. But if you\'re wanting just one copy of Visual Studio installed it\'s the way to go.</p>\n'}]
['https://Stackoverflow.com/questions/31343', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/572/']