My main problem with generic.xaml is Viewbox has moved assemblies.
How do I have the one generic.xaml file with a namespace for the location of the Viewbox that will compile in SL3 and SL4?
I looked at http://www.removingalldoubt.com/PermaLink.aspx/defa2a7d-b1e9-49eb-b8c8-438348be8d18 but to no avail…
Note : There are two attributes XmlnsPrefix and XmlnsDefinition that you can place in Assembly.cs.
Thanks in advance.
Finally gave up on XmlnsDefinition and XmlnsPrefix as I could not get the to work properly…It was funny in a WPF application the designer window can resolve the referemces but the compiler could not…go figure.
I solved using the cpp preprocessor from blog…
http://blogs.msdn.com/b/blemmon/archive/2009/04/29/using-the-preprocessor-to-share-incompatible-xaml-between-sl-and-wpf-part-1.aspx
I modified PreprocessXaml to modify only generic.xaml.