Hi Luis,
The error:
Method not found: string
Syncfusion.Licensing.FusionLicenseProvider.GetLicenseType(Syncfusion.Licensing.Platform)
suggests that your application is referencing a version of Syncfusion.Licensing.dll
that does not contain the method GetLicenseType. This typically happens
when:
- There's
a version mismatch between Syncfusion packages.
- The Syncfusion.Licensing
NuGet package wasn't properly updated.
- The old
DLL is still being used due to caching or build artifacts.
Here’s a step-by-step guide to resolve this:
1. Ensure All Syncfusion Packages Are on the Same Version
Make sure all Syncfusion NuGet packages, including Syncfusion.Licensing,
are updated to exactly version 31.1.19.
You can do this by running:
|
dotnet list
package --outdated
|
Then update all Syncfusion packages:
|
dotnet add
package Syncfusion.Licensing --version 31.1.19
|
2. Clean and Rebuild the Project
Sometimes old DLLs linger in the build folders. Do a full
clean:
- Delete
bin and obj folders manually.
- Clear
NuGet cache:
|
dotnet nuget
locals all --clear
|
3. Verify License Key Registration
Ensure the license key is registered before any
Syncfusion component is initialized:
|
Syncfusion.Licensing.SyncfusionLicenseProvider.RegisterLicense("YOUR_LICENSE_KEY");
|
Place this in App.xaml.cs or Main() method as early as
possible.
If you are still facing an issue, we request you to share with us the simplified sample to replicate the issue with us. So that we can assist with you further in this.