Look at this (line 2, it is from TypeConverterHelper class):StringBuilder builder = new StringBuilder();builder.Append("<ContentControl xmlns='http://schemas.microsoft.com/client/2007' xmlns:c='" + ("clr-namespace:" + nullableType.Namespace + ";assembly=" + nullableType.Assembly.FullName.Split(new char[] { ',' })[0]) + "'>\n");builder.Append("<c:" + nullableType.Name + ">\n");builder.Append(a);builder.Append("</c:" + nullableType.Name + ">\n");builder.Append("</ContentControl>");It is similar tobool a;...if (a.ToStrng().Length == 4)Maybe this way it will work better:builder.AppendFormat("<ContentControl xmlns='http://schemas.microsoft.com/client/2007' xmlns:c='{0}'>\n", string.Concat("clr-namespace:", nullableType.Namespace, ";assembly=", nullableType.GetTypeInfo().Assembly.FullName.Split(new char[] { ',' })[0]));builder.AppendFormat("<c:{0}>\n", nullableType.Name);builder.Append(a);builder.AppendFormat("</c:{0}>\n", nullableType.Name);builder.Append("</ContentControl>");
Product?
Product Version?
Issue Type?
Repro Steps? (N/A for Suggestion)