Skip to content

Addin to make creating Xamarin Studio / MonoDevelop addins easier

License

Notifications You must be signed in to change notification settings

mrward/MonoDevelop.AddinMaker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MonoDevelop.AddinMaker

The Addin Maker makes it easy to create and maintain MonoDevelop and Xamarin Studio addins.

Features

  • Full support for creating, building, running and debugging addins from within MD/XS.
  • MSBuild-based build system is extensible and allows building from the commandline.
  • Code completion for addin manifests, file templates and project templates.
  • Automatically handles referencing core MD/XS assemblies and assemblies from referenced addins.
  • The AddinFile build action takes care of the details of bundling files with the addin.
  • Multi-targeting support allows building against any MD/XS instance.

Installation

Most users should install this from the MD/XS Addin Gallery. However, if you wish to contribute to the addin, you will need to build it from source. This may also be necessary if you wish to use it with some unreleased version of MonoDevelop or Xamarin Studio.

Because loading the Addin Maker in MD/XS requires itself to be installed, scripts are provided to build and install it from the commandline. Simply run Install.bat (Windows) or Install.sh (Mac, Linux).

To build against a specific version, you can provide arguments, e.g.

./Install.sh /p:MDBinDir=../monodevelop/main/build/bin /p:MDProfileVersion=6.0

Migrating Existing Projects

To migrate existing projects to the Addin Maker:

  1. Add {86F6BF2A-E449-4B3E-813B-9ACC37E5545F} to the project's flavor GUIDs i.e. for C#: <ProjectTypeGuids>{86F6BF2A-E449-4B3E-813B-9ACC37E5545F};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
  2. Add a reference to the NuGet package monodevelop.addins
  3. Remove all references you have to the assemblies included with MonoDevelop/Xamarin Studio.
  4. Remove all addin dependency declarations from your manifests and assembly attributes.
  5. Add Addin References for all of the dependencies you remvoed in step 4.
  6. [OPTIONAL] For each file that is bundled with your addin, unset the "copy to output" flag, set the build action to AddinFile, and remove the corresponding <Import> from the <Runtime> element of your manifest.

About

Addin to make creating Xamarin Studio / MonoDevelop addins easier

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 99.4%
  • Other 0.6%