0.80.3 / [BreezeController] - 错误

时间:2012-12-28 19:44:14

标签: breeze

刚刚从版本0.78.3更新到Breeze的新版本0.80.3。在新版本中,我在Fiddler中得到了这个:

500  localhost:50372  /api/Breeze/Metadata


{"Message":"An error has occurred.",
"ExceptionMessage":"Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.",
"ExceptionType":"System.Reflection.ReflectionTypeLoadException",
"StackTrace":"   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)\r\n   at System.Reflection.RuntimeModule.GetTypes()
at System.Reflection.Assembly.GetTypes()
at Breeze.WebApi.BreezeConfig.<get_Instance>b__1(Assembly a)
at System.Linq.Enumerable.<SelectManyIterator>d__14`2.MoveNext()
at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at Breeze.WebApi.BreezeConfig.get_Instance()
at Breeze.WebApi.JsonFormatter.Create()
at Breeze.WebApi.BreezeControllerAttribute..cctor()"
}

之前我有[BreezeController]属性。问题似乎是JSON Serializer。只有[ODataActionFilter]我得到元数据,但这还不够。

我阅读了文档,但我认为我没有错过任何更改。使用0.78.3的备份它再次工作。这里有什么想法? 并且:“检索LoaderExceptions属性”。我如何得到这些?

由于

1 个答案:

答案 0 :(得分:1)

这是一个错误,并在v 0.80.5中修复。如有任何问题,请告知我们。