Deploying a module with pre-compiled views

Topics: Customizing Orchard, Writing modules
Jun 17, 2013 at 7:35 AM
I'm trying to see if this is doable or not. What we'd like to do is pre-compile some razor views into our module dll so the original razor views can't be meddled with. See this blog:

This works perfectly in its own solution, but I'm having trouble getting it to work within Orchard. It simply dumps out the files:


Any clues as to how I can get this to work? Or is there another way?