Articles in this section
Category / Section

How to solve an existence of XML namespace in WPF TreeGrid?

1 min read

. WPFa of  an The exception like “WPF DataGrid (SfDataGrid) does not exist in XML namespace” will occurs when Syncfusion assemblies referred in the application differed from Application’s Target Framework or different versions of Syncfusion assemblies referred in the same project.

Using same version of Syncfusion assembly in project to solve - Error:  Assembly 'X' uses 'Y' which has a higher version than referenced assembly ‘Y'

 

You have to refer the same version Syncfusion assemblies in the application. You can find the version information from the properties of assembly as below,

 

Show the added assemblies to WPF DataGrid project

 

Otherwise,

Error CS1705 Assembly 'X' uses 'Y' which has a higher version than referenced assembly ‘Y'

 

Using Syncfusion assembly based on target framework to solve - Control does not exist in XML namespace

If you are developing application in 4.5.1 framework, then you should use the framework version of Syncfusion assembly. You can check this from Syncfusion assembly version (14.4451.0.15). For example,

 

  • Version 14.4451.0.15 – Denotes the assemble can be used in 4.5.1 target framework application.
  • Version 14.4450.0.15 – Denotes the assemble can be used in 4.5 target framework application.
  • Version 14.4400.0.15 – Denotes the assemble can be used in 4.0 target framework application.
  • Version 14.4350.0.15 – Denotes the assemble can be used in 3.5 target framework application.

 

As in the below code screen shot, Application target framework and all Syncfusion assemblies should target same framework version.

 

Show the application framework for WPF DataGrid

Conclusion

I hope you enjoyed learning about how to solve an existence of XML namespace in WPF TreeGrid.

You can refer to our  WPF TreeGrid feature tourpage to know about its other groundbreaking feature representations and documentation, and how to quickly get started for configuration specifications. You can also explore our WPF TreeGrid  example to understand how to create and manipulate data.

For current customers, you can check out our components from the License and Downloads page. If you are new to Syncfusion, you can try our 30-day free trial to check out our other controls.

If you have any queries or require clarifications, please let us know in the comments section below. You can also contact us through our support forumsDirect-Trac, or feedback portal. We are always happy to assist you!

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied