Friday, August 17, 2012

The TypeConverter for "FontWeight" does not support converting from a string

The TypeConverter for "FontWeight" does not support converting from a string

After installing Visual Studio 2012 and opening a Silverlight 5 project I'm getting various design time errors related to TypeConverter, such as:

The TypeConverter for "FontWeight" does not support converting from a string.

The TypeConverter for "Point" does not support converting from a string.

The TypeConverter for "Thickness" does not support converting from a string.

That's not an exhaustive list, however.

Examples of these being:

<Setter Property="FontWeight" Value="Bold" />

<RadialGradientBrush GradientOrigin="0.5,0.5"> ...

<Setter Property="Padding" Value="0" />

Am I missing something obvious here, or is this a bug?

Answers & Comments...




No comments:

Post a Comment

Send us your comment related to the topic mentioned on the blog