How do I reference different DLLs in Kaxaml

  1. Copy WPFToolkit.dll to "C:\Program Files\Kaxaml\"
    • Restart Kaxaml

Now you can use such namespace:

xmlns:dg="clr-namespace:Microsoft.Windows.Controls;assembly=WPFToolkit"

Another option would be to make a junction and add a probing path to Kaxaml's config.

Make Junction to code

  • run elevated cmd
  • cd "c:\Program Files (x86)\Kaxaml"
  • mklink /J ProbeFolder "c:\path-to-your-code"

Modify Kaxaml.exe.config

  • run elevated notepad
  • open "C:\Program Files (x86)\Kaxaml\Kaxaml.exe.config"
  • add the following to the <configuration>:
<runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <probing privatePath="ProbeFolder"/>
   </assemblyBinding>
</runtime>
  • save the file
  • restart kaxaml