在版本1.0.1中尝试Breeze.js示例时发生异常 [英] Exception when trying Breeze.js example in version 1.0.1

查看:58
本文介绍了在版本1.0.1中尝试Breeze.js示例时发生异常的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试试用Breeze.js,并为MVC示例下载了最新的块包。

I'm attempting to try out Breeze.js and have downloaded the latest nugget package for the MVC sample.

但是,每次尝试保存数据时, BreezeSampleController中的SaveChanges操作中引发了以下异常:

However, every time I try to save data an exception is thrown in the SaveChanges action in the BreezeSampleController of:

'Newtonsoft.Json.Linq.JObject'不包含实体的定义

'Newtonsoft.Json.Linq.JObject' does not contain a definition for 'entities'

库看起来不错,我想确保自己拥有最稳定的位。

The library looks great and I would like to make sure I have the most stable bits.

推荐答案

引用KS:事实证明,问题在于,Telerik Test Studio在GAC中安装了Newtonsoft.Json程序集。安装后,便不再抛出异常。

Quoting KS: "t turned out the problem was that the Newtonsoft.Json assembly was installed in the GAC by Telerik Test Studio. As soon as I installed it the exception was no longer thrown."

这篇关于在版本1.0.1中尝试Breeze.js示例时发生异常的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆