nsabiyera / Oak

Frictionless development for ASP.NET MVC single page web apps. Prototypical and dynamic capabilities brought to C#.
http://amirrajan.github.com/Oak
MIT License
6 stars 7 forks source link

Support ReflectionTypeLoadException in ReplaceExceptionWithRecommendationIfApplicable #42

Open davidpodhola opened 10 years ago

davidpodhola commented 10 years ago

If ReflectionTypeLoadException is throws, it would be helpful to show also LoaderExceptions to actually understand what the problem is about. I started here, needs polishing (will try to do by myself :-)).

amirrajan commented 10 years ago

Good luck. The Battle Ship sample app relieves heavily on the retention of call stack (it's what forced me to add something to Gemini that gives additional information): https://github.com/amirrajan/Oak/blob/master/Sample%20Apps/BattleShip/BattleShip.Tests/describe_GamesController.cs

Let me know when you're at a point to merge. I'll give you ownership rights to the Nuget packages so you can also deploy. We'll run some deploys together.

amirrajan commented 10 years ago

You may also want to look at this line in Gemini (it may or may not be pertinent) to your specific problem: https://github.com/amirrajan/Oak/blob/master/Oak/Gemini.cs#L374