This shows you how to extend blend. It provides the basic plumbing for adding custom menu items, panes etc. Twitter me any questions : @josefajardo
To extend blend you need to use the undocumnted, un-supported "Addins" api. There are a couple of approaches to getting your addin into blend, the one i like to use is to get the dll's containing the extensions into an "Addins" folder under the Blend install path. The demo project does just that, when you open up the project in Visual Studio 2010 and run it, it will copy the files to an "Addins" folder under blend then it will run blend. Blend will detect the addin and if successful will load it into the UI. Everytime you run blend this addin will be present, to remove it you need to delete the "addins" folder from blend. This assumes that blend is installed in "C:\Program Files (x86)\Microsoft Expression\Blend 4". If not then you may need to do some re-referencing and changes to the properties in the VS solution. At anytime should you want to remove the addin just delete it from the addins folder, or if this is the only addin you've ever installed then just delete the addins folder. Blend installs without the the addins folder so all should be good if you want to delete this folder!
Read more: Codeplex
0 comments:
Post a Comment