Newtonsoft 12.0.0.0?

I'm getting this error, when my page is loading like this:


I've tried nuget'ing version 13.0.1 and 12.0.3 but it doesn't seem to matter. I should also note that I'm running Blazor Server inside of ElectronNet.
Thanks,
Craig

5 Replies 1 reply marked as answer

SS Sharon Sanchez Selvaraj Syncfusion Team April 29, 2021 03:00 PM UTC

Hi Craig, 
 
Thanks for contacting Syncfusion Support.  
 
We have checked with your screenshot and have noticed that it’s related to the missing assembly Newtonsoft. Please check whether you have installed Newtonsoft assembly in your application. 
 
And we have created a sample related to ElectronNet with Server Side Blazor and it is working fine in our end. 
 
 
Refer to the below GitHub link for Blazor Server Side inside ElectronNet example. 
 
 
And if the issue persists, please provide the following details so that we can assist you promptly. 
 
  1. Syncfusion package version used in the application.
  2. Whether you are using individual NuGet or combined NuGet package for Syncfusion Blazor?
  3. Are you using any Serialization methods or any methods related to Newtonsoft in your application?
  4. Have you tried removing the Syncfusion Blazor packages and running the application? Please confirm whether the issue occurs only when Syncfusion components are used?
  5. If possible, modify the above sample similar to your scenario and steps to replicate the issue.
  6. Else provide us a video replicating your issue.
 
Please get back to us if you need further assistance. 
 
Regards, 
 
Sharon Sanchez S. 


Marked as answer

CR Craig April 29, 2021 06:25 PM UTC



Newtonsoft was brought down by nuget.  As I stated in my original post, I've tried the latest version and as close as I could get to 12.0.0.. neither work.  The syncfusion version is 19.1.0.58.
Also, looking at your sample, you don't even have newtonsoft in your proj.. how should it work?


CR Craig April 29, 2021 06:30 PM UTC

On a side note, I also tried this with a regular Asp.net core net5 project and the same thing happens as soon as you host it in Electron.. except that one is looking for Newtonsoft 11.0.0.0.  There is obviously an issue with your dependencies when hosting in ElectronNet.


CR Craig April 29, 2021 07:02 PM UTC

Another update:  I took your sample blazor/electron application and updated the syncfusion version to current stable (from 18.x to 19.x) and it has the same problem.  So it must be related to the latest version of your syncfusion controls.


SS Sharon Sanchez Selvaraj Syncfusion Team April 30, 2021 03:40 PM UTC

Hi Craig, 
 
We checked with the sample of Dashboard Layout with latest version(19.1.58) in our end. But we are unable to reproduce the issue as mentioned.  
 
Please refer to the sample attached below for further reference. 
 
 
Please check the above sample at your end and if issue persists, kindly share us a video on the issue with the above sample along with steps to replicate it in our end to serve you better.  
 
Regards, 
 
Sharon Sanchez S. 


Loader.
Up arrow icon