We are using RazorGenerator in a base project, which we then rollout to multiple Other Sites.
So far this is working really well except we have found that when we override views in our Other Sites, they are not showing on the actual sites after
the first deployment, its reverting back to the original base views.
We have tracked this down to a particular situation.
- The PrecompiledMvcEngine has an option for UsePhysicalViewsIfNewer, which we have set to true
- On our development environment, the overriden views work on our own machines initially. We then commit our changes to SVN.
- When we deploy the webiste code, or someone else checks out the Other Site, it is not using the overridden view.
When other people / builds check out the Other Site from SVN, all files in the Other Site have the same modified date
This means that we will never be able to override the base views on Other Sites.
We are wondering if there is a configuration parameter on PrecompiledMvcEngine that specifies to always
use the physical views if they exist for a site?
If there's not, can we get one added please.
I've included an example of generally how we would like the PrecompiledMvcEngine to work for this situation.
Thanks for your help