Syncfusion.Licensing does not match version

I am getting 

Could not load file or assembly 'Syncfusion.Licensing, Version=18.4450.0.44, Culture=neutral, PublicKeyToken=632609b4d040f6b4' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)


I searched on the web and found articles talking about not been on the same version, but in my case I have this on NuGet:



When I check the directory I find these versions:



Notice the Syncfusion.Licensing is version 18.4460.0.44 which does not match the version on the error above that is looking for 18.4450.0.44. 

What am I missing? How do I get version 18.4450.0.44?

9 Replies

BF Bruno F Valli February 27, 2021 04:32 AM UTC

Ok after playing around I found Syncfusion.Licensing has a version for .NET 4.6 but Syncfusion.EJ2.MVC5 packages does not. So Syncfusion.Licensing was going to version for .NET 4.6 while Syncfusion.EJ2.MVC5 was stuck on .NET 4.5

So that is what the 460 on the version number means
18.4460.0.44

I edited my csproj file and changed the Syncfusion.Licensing line from this


<Reference Include="Syncfusion.Licensing, Version=18.4460.0.44, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
      <HintPath>..\packages\Syncfusion.Licensing.18.4.0.44\lib\net46\Syncfusion.Licensing.dll</HintPath>
 </Reference>

to this

<Reference Include="Syncfusion.Licensing, Version=18.4450.0.44, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
      <HintPath>..\packages\Syncfusion.Licensing.18.4.0.44\lib\net45\Syncfusion.Licensing.dll</HintPath>
</Reference>

This fixed my issue.



AG Ajith Govarthan Syncfusion Team March 1, 2021 10:02 AM UTC

Hi Bruno, 
 
Thanks for contacting Syncfusion support. 
 
We are happy to hear that you have found the solution at your end. 
 
Please get back to us if you need further assistance. 
 
Regards, 
Ajith G. 



ED Edward February 24, 2022 07:17 AM UTC

Hi Support,


I am having similar issues.. my project is using the following packages 

<package id="Syncfusion.Compression.Base" version="19.4.0.53" targetFramework="net48" />

<package id="Syncfusion.EJ2.AspNet.Core" version="19.4.0.53" targetFramework="net48" />

<package id="Syncfusion.EJ2.JavaScript" version="19.4.0.53" targetFramework="net48" />

<package id="Syncfusion.EJ2.Spreadsheet.AspNet.Core" version="19.4.0.53" targetFramework="net48" />

<package id="Syncfusion.EJ2.Spreadsheet.AspNet.MVC5" version="19.4.0.53" targetFramework="net48" />

<package id="Syncfusion.Licensing" version="19.4.0.53" targetFramework="net48" />

<package id="Syncfusion.XlsIO.AspNet" version="19.4.0.53" targetFramework="net48" />


Please advise what to do - the dlls referenced in my solution based on the above nuget packages are not consistent... 

\packages\Syncfusion.Compression.Base.19.4.0.53\lib\net46\Syncfusion.Compression.Base.dll

\packages\Syncfusion.XlsIO.AspNet.19.4.0.53\lib\net46\Syncfusion.XlsIO.Base.dll

\packages\Syncfusion.EJ2.Spreadsheet.AspNet.Core.19.4.0.53\lib\net451\Syncfusion.EJ2.Spreadsheet.dll

\packages\Syncfusion.EJ2.AspNet.Core.19.4.0.53\lib\net451\Syncfusion.EJ2.dll

\packages\Syncfusion.Licensing.19.4.0.53\lib\net46\Syncfusion.Licensing.dll



RS Ramya Sivakumar Syncfusion Team February 24, 2022 09:04 AM UTC

Hi Edward, 

Greetings from Syncfusion. 

Syncfusion introduced the licensing system from v16.2.0.41 for Syncfusion NuGet packages and evaluation setup. We will validate the license key and include the Evaluation warning watermark in the output documents. However, you can remove this evaluation warning by registering license key in your application.    

Our license keys are version and platform specific. So, please generate and register the corresponding platform license key for the required version in your application by referring the below KB article.   




Regards, 
Ramya. 



ED Edward February 25, 2022 04:37 AM UTC

Hi Ramya,

Thankyou for your reply and resolving my watermark issue.

This ticket raised by Bruno because he had installed the \net46\Syncfusion.Licensing.dll but was still referencing the \net45\Syncfusion.Licensing.dll file in his dll.. hence his error.. 

My question is an extension of Bruno's qustion.. Specifically because I have many Syncfusion files on both .net45 and some on .net46 which is not by my choice, rather that is just what happened when nuget packages for 19.4.0.53  were automatically installed in my ASP.NET project. I am wanting clarity on wether (mixing your libraries which run on different versions of .net like that) this is an issue, and if so what I should do about that?

E.g. My "Syncfusion.EJ2.Spreadsheet.dll" and "Syncfusion.EJ2.dll" are still on .net45 .. but all the rest of the Syncfusion libraries are on .net46 ... 

For reference: my watermark ticket can be found here and is not asking the same question.

Cheers

Eddy



RS Ramya Sivakumar Syncfusion Team February 25, 2022 02:17 PM UTC

Hi Edward, 

We are glad that the provided suggestion helped you. 

We have forwarded the query to the concerned team, and we will provide further details in 1 business day, on February 28, 2022. 

We appreciate your patience. 

Regards, 
Ramya. 



RS Ramya Sivakumar Syncfusion Team February 28, 2022 01:26 PM UTC

Hi Edward, 

We deeply regret for the inconvenience caused. 

The concerned team is still checking the query and requested a timeline to share the details. Hence, we will provide further details tomorrow[March 1, 2022]. 

We appreciate your patience. 

Regards, 
Ramya. 



RS Ramya Sivakumar Syncfusion Team March 1, 2022 02:18 PM UTC

Hi Edward, 

We deeply regret for the inconvenience caused. 

The concerned team is still checking the query and requested a timeline to share the details. Hence, we will provide further details tomorrow[March 2, 2022]. 

We appreciate your patience. 

Regards, 
Ramya. 



JS Janakiraman Sakthivel Syncfusion Team March 3, 2022 02:58 AM UTC

Hi Edward, 
 
Please follow this ticket "368788" for further updates regarding this query. 
 
Regards, 
Janakiraman S. 


Loader.
Up arrow icon