.net - How do I reference the WPF Toolkit in Visual Studio 2010? -


i'm trying use wpf toolkit visual 2010 project (i'm interested in chart controls found in system.windows.controls.datavisualization namespace), cannot figure out assembly reference.

i've installed toolkit , seems have installed c:\program files (x86)\wpf toolkit\v3.5.50211.1. i've read posts how might need copy assemblies gac attempted , following code:

import clr clr.addreference("wpftoolkit") 

still fails.

has used wpf toolkit lately vs2010? how did add reference it?

import sys, clr sys.path.append(r'c:\program files (x86)\wpf toolkit\v3.5.50211.1') clr.addreference("wpftoolkit") 

you may need running .net 2 version of ironpython 2.6, since wpftoolkit site doesn't if it's compatible .net 4.


Comments

Popular posts from this blog

javascript - Iterate over array and calculate average values of array-parts -

iphone - Using nested NSDictionary with Picker -

objective c - Newbie question -multiple parameters -