Last post Apr 11, 2012 03:35 PM by lucasphillip
Apr 09, 2012 11:02 PM|lucasphillip|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 05:11 AM|ignatandrei|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 06:27 PM|lucasphillip|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 09:21 AM|Young Yang - MSFT|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 03:35 PM|lucasphillip|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?