[Mono-list] Using both System.Xaml and WindowsBase

ludovicchabant ludovic at chabant.com
Sun Jan 30 17:19:01 EST 2011


Hello,
I have project that uses both System.Xaml for XAML serialization and
WindowsBase for System.IO.Packaging. The problem is that when I try to
reference a class like "MarkupExtension", Mono complains that it's defined
multiple times. Indeed, it is both in System.Xaml and WindowsBase, only the
version in WindowsBase should have TypeForwardedTo attribute to specify that
it's been moved to System.Xaml as of .NET 4.0.
Is there a way around this? (the only idea that comes to me so far is to
split the project in 2 assemblies, one that does the XAML stuff, and the
other that does the packaging stuff)
Also, is this going to be fixed in Mono?
Thanks.
-- 
View this message in context: http://mono.1490590.n4.nabble.com/Using-both-System-Xaml-and-WindowsBase-tp3247734p3247734.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list