)
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: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Why does the error "the type or namespace name 'syncfusion' could not be found(are you missing a using directive or an assemble reference)" occur

Platform: WinForms |
Control: GridControl |
Published Date: May 6, 2015 |
Last Revised Date: August 26, 2019

The error “type or namespace name ‘Syncfusion’ could not be found (are you missing a using directive or an assembly reference?)” occurs due to the following reasons: 

  1. Referring the application’s reference DLLs like the DLL version as Target Framework version. 
  • TargetFramework version is lower than Syncfusion DLL’s version 

Example: 

TargetFramwork version: 4.6 

Syncfusion Installed framework version: 4.5 

  1. Creating application under one .NET Framework. 
  • You can use multiple projects for your application. In every application, referred Syncfusion DLLs version should be the same. 
  1. The GAC assemblies are removed or reference path differs from the Target Framework. 
  • Trying to refer the higher version DLLs in lower framework version projects. 

Image with TargetFrameworkVersion and reference path

  1. Mismatching assemblies of GAC assemblies and user defined reference path assemblies. 
  • You can see this by opening your project in notepad or unloading and editing your project in Visual Studio. Syncfusion assemblies should not be as illustrated in the following screenshot. 

 

Image with GAC assembly settings and reference path

So, remove the hint path and assembly settings like as below illustrated screenshot.

 

 Image without GAC assembly settings and reference path

2X faster development

The ultimate WinForms UI toolkit to boost your development speed.
ADD COMMENT
You must log in to leave a comment

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

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

Live Chat Icon For mobile
Live Chat Icon