Hi, I also need Mono support, so while http://github.com/loudej/spark/tree/mono is very old, I patched a little latest spark version from git - everything works for my site on Mono 2.4.2.3. Patch attached, hope it helps somebody.
URL: http://sparkviewengine.codeplex.com/WorkItem/View.aspx?WorkItemId=3516
somehow patch wasn't attached, you can download it here http://files.vhqlabs.com/0001-simple-mono-patch.patch
URL: http://sparkviewengine.codeplex.com/WorkItem/View.aspx?WorkItemId=3516
this patch does not work. also, it breaks tests on the windows version. instead of /, you should use Path.DirectorySeparatorChar. this allows the framework to decide which character to use to search for views, and it works on both OS X and windows. there is still a problem with template truncation on OSX, however.
URL: http://sparkviewengine.codeplex.com/WorkItem/View.aspx?WorkItemId=3516
blue_fenix: actually, it works for me on real project. And yes, it breaks tests on windows, but only tests - / can be used as separator on windows too. Nevertheless, I agree - Path.DirectorySeparatorChar is more correct way - just slightly more work to change.
URL: http://sparkviewengine.codeplex.com/WorkItem/View.aspx?WorkItemId=3516