This MVC webapp project is building fine, no errors or warnings. It can be published and the site comes up as expected.
The Project can be checked into TFS just fine.
Issue arises when I try to check in the Solution into TFS.
C:\projects\tfs-workspace\tfs-team-1\tfs-branch-1\solution-1\packages\Newtonsoft.Json.6.0.4\lib\net20\Newtonsoft.Json.dll: Could not find a part of the path C:\projects\tfs-workspace\tfs-team-1\tfs-branch-1\solution-1\packages\Newtonsoft.Json.6.0.4\lib\net20\Newtonsoft.Json.dll
Newtonsoft.Json version 11.0.2 is installed in the project. I've cleaned the solution and reinstalled Newtonsoft.Json latest version 11.0.2, as well as added this to web.config:
<dependentAssembly>
<assemblyIdentity name="Newtonsoft.Json" culture="neutral" publicKeyToken="30ad4fe6b2a6aeed" />
<bindingRedirect oldVersion="0.0.0.0-11.0.0.0" newVersion="11.0.0.0" />
</dependentAssembly>
Not sure where Newtonsoft.Json.6.0.4 is being referenced or why this error is coming up. I want to mention again - the solution builds and runs just fine.