markrendle/Simple.Web — pull request #32 by ianbattersby (2012-09-06 20:49:17+00:00)
Title: Mono compatibility: JsonFx & FAKE build specification

This update includes:-

* **Implements a custom JsonFx `ResolverStrategy` for JsonFx (writes only)**
Side-steps an issue between JsonFx IL Emit and the (stricter than .NET it seems) Mono compiler. Miguel has confirmed this isn't a bug with Mono Runtime JIT and Stephen made clear if someone can fix the OpCodes for IndexProperties he'll take a pull-request, but I drew a blank. Added test to ensure Lists are still parsed correctly.

* **FAKE (fsx) specification changes to compile both `Build + Test` (Mono only)**
Seems xbuild isn't quite as clever as MSBuild when it comes to copying local dependencies when compiling a Test assembly dependencies. As such I've worked some F# magic/evil/crudeness so that Mono builds run the standard build first so the DLL (e.g. JsonFx.dll) is present in the Test directory when xunit executes.

I believe once the [outstanding ninject issue](https://github.com/markrendle/Simple.Web/issues/31) is fixed we'll have a Mono compiling and test-passing build. *Harrah!*