Issue with Child Applications

Topics: Core
Mar 13, 2012 at 3:43 PM

I haven't taken the time yet, but I'm assuming that Orchard creates child applications at runtime? The reason I ask is that if I wrap system.webServer with a location attribute to prevent inheritance of dependencies of other child elements (as mentioned at http://www.jasongaylord.com/blog/prevent-child-apps-from-inheriting-dependencies), I seem to break my theme. The paths still work, but the other elements do not.

So, I'm either going to clear the dependencies on the sub application and add back only the necessary ones or include the orchard binaries in the sub app.

Is there another solution?