Consider you are declaring control or class in xaml with same name present in two different dlls. And also consider both the dlls are reference to your project and declared using common namespace in xaml. In this case, you will get ambiguous type reference exception when running the application.
In the below code snippet GridCell style is declared and it is present in both Syncfusion.SfGrid.WPF dll and Syncfusion.Grid.WPF dll. Also GridCell referred from common namespace . If you have both Syncfusion.SfGrid.WPF and Syncfusion.Grid.WPF as reference, then when running application you will get ambiguous type reference exception.
It is because both Syncfusion.SfGrid.WPF and Syncfusion.Grid.WPF dlls are present in common namespace . Also GridCell control is present in both the dlls with same name, it leads to ambiguous type reference exception if you reference to your project.
You can overcome this problem by two ways,
Way 1: Based on the components used in your application you can add only required dlls. For example if you use SfDataGrid in your code, you don’t need to add Syncfusion.Grid.WPF or Syncfusion.GridCommon.WPF dll reference.
Way 2: If you are in need to refer both dlls in your project. Then you can declare the namespace for GridCell explicitly by specifying assembly as below,
This page will automatically be redirected to the sign-in page in 10 seconds.