Reputation: 552
just updated to the new Version 0.80.3 of Breeze from Version 0.78.3. With the new version i get this in 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()"
}
I had the [BreezeController] Attribute before. Problem seems to be the JSON Serializer. With just [ODataActionFilter] i get the Metadata but thats not enough.
I read the Docs but i do not think i missed a change. Using a Backup of 0.78.3 it works again. Any ideas here? And: "Retrieve the LoaderExceptions property". How do i get these?
Thanks
Upvotes: 0
Views: 177
Reputation: 17052
This was a bug and is fixed in v 0.80.5. Please let us know of any issues.
Upvotes: 1