views:

54

answers:

2

Is it possible to have the areas as part of the MVC project but to be built into their own individual assemblies?

A: 

Yes, it is possible: you just have to embed the aspx/ascx as resource and you can use it this way.

But for maintainance reasons I rather would not recommend it.

MADMap
I don't want the views to be in the assembly, just compiled code. It is so that I can have separate DLL's for each area which makes it easier to deploy.
William
A: 

It is possible using the portable areas feature of MVCContrib. There has been some discussion on the mvcvontrib mailing list in the last few days about the sample app that apparently was not working. I haven't checked whether that is now fixed or not, but I think this will point you in the right direction.

mnemosyn