title: Tests failing to run from VSTS : System.MissingMethodException: Method not found
body: <p>I am using NJsonSchema nuget library for schema validation in my MSTest tests. They run fine when I run them on my PC but fail when runs from VSTS with following error.</p>
  
  <p>System.MissingMethodException: Method not found: 'System.Collections.Generic.ICollection`1 NJsonSchema.JsonSchema4.Validate(Newtonsoft.Json.Linq.JToken)'.</p>
  
  <p>I have checked all the required dlls are there on default directory where tests are run from.</p>
  
  <p>Could anyone please point to the right direction ? </p>
  
  <p>VSTS log</p>
  
  <p>Test method AIS.e2eIntegration.ClientTest.E2E_GetClient_Expand threw exception: 
  2017-12-13T14:14:54.3074393Z System.MissingMethodException: Method not found: 'System.Collections.Generic.ICollection`1 NJsonSchema.JsonSchema4.Validate(Newtonsoft.Json.Linq.JToken)'.
  2017-12-13T14:14:54.3075218Z Stack Trace:
  2017-12-13T14:14:54.3075875Z     at AIS.e2eIntegration.Utilities.ValidateSchema(IRestResponse response, JsonSchema4 schema)
  2017-12-13T14:14:54.3076619Z    at AIS.e2eIntegration.ClientTest.d__11.MoveNext()
  2017-12-13T14:14:54.3077317Z --- End of stack trace from previous location where exception was thrown ---
  2017-12-13T14:14:54.3078414Z    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
  2017-12-13T14:14:54.3079336Z    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
  2017-12-13T14:14:54.3080532Z    at Microsoft.VisualStudio.TestPlatform.MSTestAdapter.PlatformServices.ThreadOperations.ExecuteWithAbortSafety(Action action)
  2017-12-13T14:14:54.3080994Z </p>