West Wind WebSurge
Can not run Westwind Web Surge from source: Can not find Newtonsoft.Json assembly
Gravatar is a globally recognized avatar based on your email address. Can not run Westwind Web Surge from source: Can not find Newtonsoft.Json assembly
  Eliezer
  All
  Jun 28, 2021 @ 11:22am

Hi Rick You have created a very sophisticated piece of software. It has really amazing results! In an attempt to understand how your magics works I try to go with the source code. When combining the Westwind.RazorHosting source with the WebSurge source I need to upgrade the Newtonsoft.Json to Version=13.0.0.

Now at the "RazorEngine" Class, in the function InvokeTemplateInstance you execute the instance with "instance.Execute();" In my case, it through an exception:

Could not load file or assembly 'Newtonsoft.Json, Version=13.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference.

Can you please tell me how I can point the application to load the correct Newtonsoft.Json?

Any help will be most appreciated.

Eliezer Kaplansky PhD. Makeshet LTD.

© 1996-2021