Just download and install MonoDevAssist from CodePlex (http://monodevassist.codeplex.com/releases
) or install from Visual Studio Extension Manager (preferred).
Install MonoTouch Framework
- Copy the MonoTouch binaries from your Mac (/Developer/MonoTouch/usr/lib/mono/2.1/) to
'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\' folder.
- Download the
FrameworkList.xml and add it to the 'C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\MonoTouch\v1.0\RedistList\' folder.
- Download the
Novell.MonoTouch.Common.targets and add it to the 'C:\Program Files (x86)\MSBuild\MonoTouch\' folder.
If you'll run Visual Studio as Administrator MonoDev assist will create FrameworkList.xml and Novell.MonoTouch.Common.targets files automatically.
Working with MonoTouch Projects
When you open a MonoTouch project for the first time in Visual Studio, MonoDev Assist modifies the project xml to add MonoTouch framework support. The modification requires to reload the project, so do not ignore the corresponding Visual Studio prompt. Please
note, that the modification is safe
and will allow you to open it correctly in Visual Studio and in MonoDevelop on your Mac development environment.
Create Project Copy
To create a copy of your existing project for the target platform and syncs their contents, click in the 'VS Main Menu\Project\Create Copy of YouProjectName for TargetPlatform' menu item.
Automatic Project Syncronization
You don't need to do anything special, just code - MonodevAssist will do it for you. It will automatically add/remove/rename source files in all project copies.
Generate Controller context menu item
Available at XIB file context menu, in VS Solution Explorer. The Generate Controller menu item will parse selected XIB file and generate valid controller code with all outlets and event connections for you. Useful when porting existing XIBs from XCode projects.