We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Ambiguous Type References on upgrade from v11 to v13

I had a compiling application against Essential Studio v11.3.0.30. I upgraded essential studio to v13.2.0.34.

I'm now getting many Ambiguous Type references.  My XAML declares the namespace prefix: xmlns:syncfusion="http://schemas.syncfusion.com/wpf"

E.g.  Error 58 Ambiguous type reference. A type named 'ChartAxis' occurs in at least two namespaces, 'Syncfusion.Windows.Chart' and 'Syncfusion.UI.Xaml.Charts'. Consider adjusting the assembly XmlnsDefinition attributes

I've checked the references match the .NET framework i'm against. This seems like it should be easy to fix.

Regards,
Troy Magennis

PS. I also get these errors, but until i get it compiling at all i might be chasing ghosts -

Error 52 The property 'LabelRotateAngle' does not exist in XML namespace 'http://schemas.syncfusion.com/wpf'. Line 95 Position 71.

Error 51 The property 'ChartAxis.ValueType' cannot be set because it does not have an accessible set accessor. Line 95 Position 88.


1 Reply

RA Rachel A Syncfusion Team August 20, 2015 11:50 AM UTC

Hi Troy,


Thanks for contacting Syncfusion support.

 

Query: How to resolve the assembly references?

 

If we include both Chart and SfChart Dll, due to ambiguity between the references we get the compilation error .We can resolve this error by defining the chart namespace as in the below code snippet.

 

[XAML]

xmlns:chart ="clr-namespace:Syncfusion.Windows.Chart;assembly=Syncfusion.Chart.Wpf"

 

Note: If the issue is still reproduced, please revert to us by providing the sample which will be helpful to provide you better solution.

 

Please let us know if you have any queries.

 

Thanks,
Rachel. A


Loader.
Live Chat Icon For mobile
Up arrow icon