NancyFx/Nancy — pull request #1094 by phillip-haydon (2013-05-21 14:20:57+00:00)
Title: GetDebugMode to look at all assemblies

Updated the `TypeOf` to use `ScanMode` rather than deprecated `true`

Updated the lookup to look at all assemblies instead of the first assembly.

-----

Resolves issue where first assembly happens to be Release mode causing the app to cache views when the app is actually in debug.

Possible breaking change for people. 3rd party assemblies are compiled as Debug it can cause undesired affects.

-----

Question: Should we to a Debug.Write to list all assemblies found that are in debug mode so that the debug window has the info, the user can then use that to debug when they set their app to release mode to figure out whats causing the app to prevent caching.