How to update Syncfusion versions in Syncfusion Web applications by manually?
Syncfusion® currently provides a Visual Studio extension
called Syncfusion® Web Conversion and Migration, which allows you to
easily upgrade or downgrade Syncfusion® release versions in web applications.
Please refer to the following user guide links to know more about Syncfusion®
Project Migration Visual Studio Extension:
In some specific projects (like 3rd party project templates,
different web.config structures, and modified project structures), migration
process may fail by Project Migration extension. So, please follow the given
steps to upgrade/downgrade the Syncfusion® version in Syncfusion® web applications
manually:
1.Update Syncfusion® Assemblies
For ASP.NET/ASP.NET MVC Platform
From your Syncfusion® web application, identify the currently referenced Syncfusion® assemblies and remove them from the project.
Next, add the corresponding Syncfusion® assemblies that match the required version. These assemblies can be found in the Syncfusion® Essential Studio installation directory at one of the following locations:
{Drive}:\Program Files (x86)\Syncfusion\Essential Studio\{Build Version}\Assemblies
or
{Drive}:\Program Files (x86)\Syncfusion\Essential Studio\{Build Version}\precompiledassemblies\{Build Version}
For E.g: C:\Program Files (x86) \Syncfusion\Essential Studio\15.3.0.29\Assemblies (or) C:\Program Files (x86) \Syncfusion\Essential Studio\15.3.0.29\precompiledassemblies\15.3.0.29
The ASP.NET Core platform projects have direct NuGet
references by default. So, you can update the Syncfusion®-related NuGet
references by following the steps mentioned in the link: https://help.syncfusion.com/aspnet-core/installation#updating-a-nuget-package
Corresponding version Syncfusion® ASP.NET Core NuGet packages are shipped in the
Syncfusion® Essential Studio setup installed location. You can get and update
the required NuGet packages from the following location:
Location: {Drive}\Program Files (x86) \Syncfusion\Essential
Studio\{Build Version}\ NuGetPackages
For E.g: {Drive}\Program Files (x86) \Syncfusion\Essential
Studio\15.3.0.29\NuGetPackages
2. Update Syncfusion® JavaScript Assets
You can get and update the required Syncfusion® Scripts and CSS files in your application in the following ways.
Syncfusion setup installed location
You can get the required Syncfusion® scripts and CSS files in your application from the following Syncfusion® setup installed location. Once you navigate to this location, you can get the corresponding version scripts and CSS, and replace them in your required project location:
Location: {Drive}\Program Files (x86)
\Syncfusion\Essential Studio\{Build Version}\JavaScript\assets
For E.g: C:\Program Files (x86)\Syncfusion\Essential
Studio\15.3.0.29\JavaScript\assets
Note:
No need to make any master/view file reference changes for Syncfusion® Scripts and CSS file references paths, if you have updated the modified script/CSS in the same location as the existing Syncfusion® assets in your application.
If you referred to the Syncfusion® JavaScript assets from the CDN link directly, you can update the corresponding Syncfusion® version manually in the master/view pages of the application. Find the following screenshot for reference:
ASP.NET Core applications refer to Bower packages, by default. So, if you are using Syncfusion® Bower packages in your web application, you can get the more details about upgrading packages to the latest or a specific version in the following user guide link:
https://help.syncfusion.com/js/installation-and-deployment#configuring-syncfusion-bower-packages
You can check Syncfusion® Assets after installation/update of the Syncfusion®
Bower package in your application under the lib folder.
Once you updated the assemblies to the required Syncfusion® version, you should update the same version of the assembly in the web.config file of your application. ASP.NET WebForms and ASP.NET MVC applications have web.config by default.
4. Update WCF and WEBAPI files
If your web application references Syncfusion® WCF or WebAPI files, you must update those references to match the required Syncfusion® version. You can find the appropriate WCF and WebAPI files for the desired version in the Syncfusion® Essential Studio installation directory. Refer to the following paths to locate them:
|
WCF |
{Drive}\Program Files (x86) \Syncfusion\Essential Studio\ {Build Version} \Utilities\Sample Creator\ASP.NET MVC\Resources\WCF_C# {Drive}\Program Files (x86) \Syncfusion\Essential Studio\ {Build Version} \Utilities\Sample Creator\ASP.NET MVC\Resources\WCF_VB For Ex C:\Program Files (x86) \Syncfusion\Essential Studio\15.3.0.29\Utilities\Sample Creator\ASP.NET MVC\Resources\WCF_C# |
|
WEB API |
{Drive}\Program Files (x86) \Syncfusion\Essential Studio\ {Build Version} \Utilities\Sample Creator\ASP.NET MVC\Resources\ WebAPI_C# {Drive}\Program Files (x86) \Syncfusion\Essential Studio\ {Build Version} \Utilities\Sample Creator\ASP.NET MVC\Resources\ WebAPI_VB For Ex C:\Program Files (x86) \Syncfusion\Essential Studio\15.3.0.29\Utilities\Sample Creator\ASP.NET MVC\Resources\ WebAPI_C# |