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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Ambiguous Type References on upgrade from v11 to v13

Thread ID:

Created:

Updated:

Platform:

Replies:

119971 Aug 19,2015 05:01 PM UTC Aug 20,2015 11:50 AM UTC WPF 1
loading
Tags: Chart
Troy Magennis
Asked On August 19, 2015 05:01 PM UTC

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.


Rachel A [Syncfusion]
Replied On 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


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;