Closed Dracarys-Ensoul closed 6 years ago
I could not reproduce this.
Can you create small sample showing the problem? Which Framework Version do you use?
I think 3.0
No, it's default that the 3.0 DLL is loaded
what is the %c4%b1 in the xaml file name?
I had the same problem. It is related to CultureInfo when the function below is called ToLower() function creates the wrong file name. I have added the 'CultureInfo.InvariantCulture' and its fixed.
public static string GetXamlNameForType(Type t) { return _uriStart + t.FullName.Substring(_subLength).Replace(".","/").ToLower() + ".xaml"; }
public static string GetXamlNameForType(Type t) { return _uriStart + t.FullName.Substring(_subLength).Replace(".","/").ToLower(CultureInfo.InvariantCulture) + ".xaml"; }
Before fileName was "wrapıtemcontextmenu.xaml" and after changing it was correct "wrapitemcontextmenu.xaml"
When I adding a control program gives me that error. Please help me