markrendle/Simple.Web — pull request #35 by ianbattersby (2012-09-14 22:05:28+00:00)
Title: Mono compatibility: Ninject & Razor

This update concludes mono-compatibility for Mono, meaning tests pass on both Mono and .NET Framework using FAKE.

* **Ninject**: Mono specific version so introduced conditional include. This does mean we need to think about publishing Simple.Web.Ninject.Mono if mono-users are to take advantage of NuGet packages. Alternative we could do a dynamic load but .. meh.

* **Razor/CodeDom** Seems Razor view compilation including reference assemblies that Mono has (mysteriously) already included throws a wobbler, as such the offending assemblies are removed if running on Mono. Certainly a 'hack', but until I can evaluate if this is definitely a bug (vs implementation) perhaps a necessary and reasonably harmless one.

#SImple.Web + #Mono = Done.