Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

plugin using newtonsoft.json

$
0
0

Could you please help with the following issue:

<Message>Unexpected exception from plug-in (Execute): PluginXXXXCreate: System.IO.FileNotFoundException: Could not load file or assembly 'Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' or one of its dependencies. The system cannot find the file specified.</Message>

I need to use Newtonsoft.json from Dynamics plugin

I have installed Json.Net using NuGet, these are the settings below. 

packages.config

<?xml version="1.0" encoding="utf-8"?>
<packages>
<package id="Newtonsoft.Json" version="10.0.2" targetFramework="net452" />
</packages>

This is the reference Newtonsoft.json dll added to the Visual Studio project

version 10.0.0.0

XXXXX\Visual Studio Solution\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll

XXX.csprj

<Reference Include="Newtonsoft.Json, Version=10.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\..\packages\Newtonsoft.Json.10.0.2\lib\net45\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images