- Create a new WPF User Control Library project in Visual Studio 2015.
- Add a reference to Magician most importantly, but also to Magician.Connect if you're planning on connecting to Dynamics CRM.
- Add a reference to System.ComponentModel.Composition.
- Add the Microsoft.CrmSdk.CoreAssemblies nuget package and (as a suggestion) MvvmLightLibs.
- Open your user control XAML code behind (.xaml.cs file).
- Update the base class to be Magician.Controls.Trick.
- Add a Magician.ExtensionFramework.TrickDescriptionAttribute to the base class, specifying both the name and description of your new trick as you want it displayed in Magician.
- Use Magician.RoleCompare or Magician.BulkWorkflowExecutor as an example to continue building out your trick.
- To deploy and test, ensure that the compiled user control library and any dependencies that are not already included in Magician (the CRM SDK assemblies are already included for example) are copied to the Tricks folder which sits alongside Magician.exe.
This repository has been archived by the owner on Nov 20, 2019. It is now read-only.