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

Atsushi Eno atsushieno at veritas-vos-liberabit.com
Mon Jan 31 20:47:07 EST 2011


They are just extraneous. I'll wrap those System.Windows.Markup types 
with #if !NET_4_0 in WindowsBase.

Atsushi Eno

(2011/01/31 8:02), Miguel de Icaza wrote:
>> 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.
> Ah, thanks for digging this.   Yes, I guess we need to add a
> TypeForwarded, would you mind testing this and sending us a patch?
>
>> Also, is this going to be fixed in Mono?
> You are in the best position to test, try and send us a patch.
>
> If you can not do this, please file a bug report so we can properly
> follow up on it.
>
> Miguel
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>



More information about the Mono-list mailing list