How can we help you today? How can we help you today?

Baml decoding issue for System types

there should be an alias for System names space, I guess, here is an example of what is now and what it should be:


<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"&gt;
<Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt;
15
</Double>
<Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt;
15
</Double>

.........


I guess it should be:


<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation&quot;
xmlns:sys="clr-namespace:System;assembly=mscorlib">
<sys:Double x:Key="{x:Static SystemParameters.VerticalScrollBarWidthKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt;
15
</sys:Double>
<sys:Double x:Key="{x:Static SystemParameters.HorizontalScrollBarHeightKey}" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"&gt;
15
</sys:Double>

Otherwise Double type is not recognized.
alehandro
0

Comments

1 comment

  • nick.maidment
    Sorry for a delay in getting back to you. We don't usually check these forums, using http://forums.reflector.net/ instead these days.

    I've logged this bug under reference RP-2467 Thanks for reporting it
    nick.maidment
    0

Add comment

Please sign in to leave a comment.