Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Apr 11, 2012 02:35 PM by lucasphillip
Apr 09, 2012 10:02 PM|LINK
How can I create and use areas that are in different assemblies, like discribed here:
But that walkthrough does not work for a while now. And all articles I find on the web are as old as or even older then that one.
Can anyone help me out here? Is it still possible to set the MVC areas in different assembly? I could realy use some up to date help
Apr 10, 2012 04:11 AM|LINK
Is it still possible to set the MVC areas in different assembly?
Please download http://pmkb.codeplex.com/ . It shows how to put views in a different project.( see plugin file)
I will write a tutorial ASAP.
Apr 10, 2012 05:27 PM|LINK
Not an easy thing to get someone elses code and understand it. Specially without comments.
I've been reading it and trying to understand what you did there. Would be great to have that tutorial though
Meanwhile, anyone else got a solution?
Apr 11, 2012 08:21 AM|LINK
Basically you will need to extend MvcViewEngine, to tell MVC to look for your Views in the different from standatd pathes:
public class YourMegaViewEngine : WebFormViewEngine
public YourMegaViewEngine ()
ViewLocationFormats = new string
You can look at this article:
You can also check this thread:
Hope this helpful
Apr 11, 2012 02:35 PM|LINK
Uhmm.. I`ve been reading around and as far as I could understand, there are two options for me.
I can either do as you said, or I can got Razor Generator style (http://razorgenerator.codeplex.com/)
Since I was planning on creating "modules", they would be easier to install if they were a single file. So I`m leaning to go that way. Although i`m having trouble with the images and scripts. Can I compile them aswell as Resources and access them?