1

I am writing an ASP.MVC application that behaves as a host of future plug-ins that are yet to be written. These plugins will be packaged as DLL in separate assemblies. One of the things that a plugin is responsible for is to provide its own View. Preferable that the main app will not have to be recompiled, each time a new plugin is written. What is the best way to have the main app looking for views that are in other assemblies?

UPDATE: My last resort is to to leverage the Post-Build events to copy View files to the View folder of the main app. But I am looking for a better way.

1
  • Cool question! Will you also support partial views? Commented Feb 2, 2011 at 1:44

1 Answer 1

1

Have a look at the mvcms project which does exactly what you are trying to do.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.