It's hard to answer in short. The idea is: the format of XML project files are different for different Visual Studio versions (you made two mistakes: there are v. 2003, 2005, 2008 and 2010; better do not consider anything prior to 2005 (Framework v.2.0)). With VS 2008 and 2010, you can simply specify different target platform and use it as a build parameter. The problem is that the .NET code for the different versions of Framework should be a bit different.
You can create a master project using MSBuild API (optionally, for custom tasks) and the general syntax of the project. It can be uses as a "super-solution" building other solution for different versions. If you right the master project file manually, it can be much more flexible than the one created by Visual Studio. You don't need Visual Studio for build. You only need the Framework of compatible version and the versions of MSBuild bundled with it.
I really cannot give more detail here as it would probably take a really big article to explain all the detail. However, I've done all this; and I never used any help or any documentation beyond MSDN. So, you can do the same. Start here:
http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx[
^].
—SA