views:

20

answers:

1

I would like to use the WPF and Silverlight toolkit's TreeView control, but have it be in the same xaml file that I share between 2 projects as a link. In silverlight, the class is in the System.Windows.Controls.dll and in WPF it is in PresentationFramework.dll. So for my xaml namespace, they need to be declared differently which causes problems. Is there anyway to make this work?

A: 

AFAIK, you won't be able to do this, Silverlight assemblies and .NET assemblies are not compatible with each other (although the XAML might be similar, but the namespaces, as you have noticed, are different).

casperOne