This project has moved and is read-only. For the latest updates, please go here.

How to set Microsoft.Ddue.Tools.XamlAttachedMembersAddIn ?

Topics: User Forum
Feb 20, 2009 at 4:56 AM
Edited Feb 20, 2009 at 4:56 AM
I would like to include followings to my reference for WPF project.
  Attached Property
  Attached Event

It seems that I need to add
 Microsoft.Ddue.Tools.XamlAttachedMembersAddIn to MrefBuilder.config.
However, I cannot find how to add it when I build reference from SHFB.

Could anybody help me how to do it?
Feb 20, 2009 at 4:15 PM
SHFB uses a template configuration file.  You can find the template MRefBuilder.config file in the .\Templates folder under the main SHFB installation folder.  Adding the following after the resolver element should be enough.  If it works, let me know and I'll add support for it in the next release.

      <addin type="Microsoft.Ddue.Tools.XamlAttachedMembersAddIn" assembly="%DXROOT%\ProductionTools\MRefBuilder.exe" />

Feb 23, 2009 at 1:07 AM
I tried your instruction, and it works very well.
Attached Property and Attached Event are added to my reference.
Thank you.