0

After I installed the ContextProvider for EF6 via nuget, I get the following build error.

Assembly 'Breeze.ContextProvider, Version=1.4.0.0, Culture=neutral, PublicKeyToken=f6085f1a45e2ac59' uses 'Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'

Any help is appreciated to fix this.

4

1 回答 1

1

Breeze 需要比您已安装的版本更新的 Newtonsoft。转到工具 -> NuGet 包管理器 -> 更新,然后查找 Json.Net 的更新,或键入:

Update-Package Newtonsoft.Json

在包管理器控制台中

于 2014-08-05T18:06:54.643 回答