IIS local, 2 websites, 2 application pool and "shared" dll problems
<p>We developped 2 differents applications with visual studio 2013 :
The first for the front-end in C# .net mvc5
The second for a web service in C# .net WebApi 2</p>

<p>Both applications use newtonsoft.json nuget but with different versions (6.0.8 for front and 8.0.2 for web api).</p>

<p>We use Local IIS to test and debug.
In IIS we create 2 websites, and 2 separate application pool.</p>

<p>If i compile the the web service after front end, everything is fine.
If i compile the front end after the web service, the web service crash with the 6.0.8 version of newtonsoft.json ! <strong>Why ?</strong></p>

<p>The application pools shared some dlls ?</p>

<p>I found some articles with the "Specific version" option of the reference in the projects. With the "specific version" at true, both version can run in parallel. But i don't want to do that.</p>

<p>I can also update the nuget to have the same version in both projects but it is a workaround, the problem could still there with another dlls.</p>

<p>I need to understand why with 2 applications pool share dlls (with différents versions)...
So do you have an idea :-) ?</p>

<p>Thanks
Whiletrue</p>