Visual Studio 2019 SyncFusion Blazor Project

After installing the SF tools for VS and Blazor, I create a new project using the SyncFusion Blazor template.
Without me touching any code, the project won't build.
I get the following errors:
CS0234 The type or namespace name 'Blazor' does not exist in the namespace 'Syncfusion.EJ2' (are you missing an assembly reference?)
This error is in the _Imports.razor file as well as the Startup.cs file of the CLIENT project that is created when using SyncFusion's template.

1 Reply

GR Ganesan Rengasamy Syncfusion Team March 31, 2020 11:54 AM UTC

Hi David,  

 
Thanks for contacting Syncfusion support.  

 
Syncfusion Blazor NuGet packages name, control names and namespace has been changed from the 2020 Volume 1 beta release (18.1.0.36-beta). The Syncfusion Blazor Project Templates creating the Blazor application with the latest version of NuGet packages which is available in the nuget.org. In nuget.org we have published the old and new Syncfusion Blazor NuGet packages with the version 18.1.0.36-beta. So, in your case  you are installing the 17.4.0.46 version blazor setup, but Syncfusion NuGet packages are referred with the version 18.1.0.36-beta as per the behavior of the Syncfusion Blazor Project Template. Please see the below release notes link for the naming changes.   

 
As of now, please update the Syncfusion Blazor NuGet packages version as 17.4.0.55 in your application. Otherwise, follow the below steps to install the Syncfusion Blazor Project Templates VSIX version 18.1.0.36-beta, to refer the modified NuGet packages with modified namespace, control name.
 
 
  1. Open Visual Studio 2019.
  2. Go to Extensions -> Manage Extensions -> Installed -> Blazor VSExtensions - Syncfusion.
  3. Click Uninstall and close the Visual Studio to start the uninstallation process.
  4. Once uninstalled, Download the VSIX file from here.
  5. Extract the zip file and double click on the Syncfusion Blazor VSExtensions.vsix file.
  6. Now, create and run the application.

If you install the Syncfusion Blazor v18.1.0.36-beta setup from the link, it will configure the extension in your Visual Studio. 

 
Regards,  
Ganesan Rengasamy. 


Loader.
Up arrow icon