ServiceStack.Razor precompilation on Mono

I’m looking for suggestions to precompile ServiceStack.Razor views at all in Mono.

I’m referring to this SO post (http://stackoverflow.com/a/29910068) explaining that the generator build task only runs on Windows. I assume the reason being some Windows-specific DLLs dependencies?

Has anything changed in the last 12 months? Are there any known workarounds?

Nothing’s changed, only workaround is to not pre-compile Razor Views on Mono or to pre-compile first on Windows. The build task just doesn’t work on Mono.

1 Like