With Unity 2.6 came the easy Visual Studio integration solution. Before 2.6, we could still create Visual Studio solution files with Lucas Meijer's integration script - http://bit.ly/8u2r . However, we can't use either of these with Unity iPhone. When you drop Lucas' integration script into Unity iPhone, it complains about some methods it can't find in the version of the .NET library that Unity iPhone uses. What to do?
First off, a HUGE thanks to Lucas for his efforts towards solving the integration problem in the first place.
With a few minor tweaks, I was able to get the SyncVisualStudioSolution.cs file to work with Unity iPhone. The main problem was that the specific overload of DirectoryInfo.GetFiles method Lucas was using to gather all .cs files in all subfolders is not available on the version of .NET that Unity iPhone uses.
Here's the tweaked SyncVisualStudioSolution.cs file that should work fine with Unity iPhone: http://bit.ly/3DtIl4
I added comments next to any changes I made to the file. You should still use Lucas' instructions on how to use this script with Unity (Pretty straightforward.) Works wonders for me when used with MonoDevelop on the Mac, hopefully it'll work for you too.
I don't have time to look through the code, but if the script above doesn't work with VS 2008, take a look here:
The script supports file linking.
There is a bug in the script, but it's nothing critical as long as you delete the extra symlink (inside assets folder) that is created (if it remains then Unity throws a permissions error on project launch)