Articles in this section
Category / Section

Resolving the invalid Syncfusion license due to platform mismatch for Blazor

Resolving the invalid Syncfusion® license due to platform mismatch for Blazor

 

In a Blazor application, you may encounter the runtime message: “Syncfusion® license is invalid (platform mismatch)”, even if a valid Syncfusion® Blazor license key is registered in the Startup.cs file. This issue occurs when the application is built using Syncfusion® Blazor components but references Syncfusion® NuGet packages version 17.4.0.39 from NuGet.org, which can lead to a platform mismatch.

 

Licensing error message in Blazor

Fig: Syncfusion® licensing error message


Syncfusion® republished the modified Syncfusion.Licensing NuGet package (version 17.4.0.39) on December 20, 2019, to NuGet.org. If your project references this package and it was added on or before December 20, 2019, you may encounter licensing issues. To resolve this, please follow the steps outlined below.

 

  1. Download the Syncfusion.Licensing package and extract the downloaded zip file.
  2. Run the start.bat file to replace the modified Syncfusion.Licensing package into NuGet cache location.
  3. Open the Blazor application in Visual Studio, for which you are receiving the “Syncfusion® license is invalid (Platform mismatch)” message.
  4. Right-click the solution file in the Solution Explorer and select the Clean Solution.
  5. Make sure whether the valid Syncfusion® Blazor license key is registered in Startup.cs file of the application. Refer to the user guide to know about the license key generation and register in application. 
  6. Compile and run the application to avoid the licensing error message.

 

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