views:

276

answers:

1

Following on from my earlier question around loading views from DLLs under ASP.NET MVC, I've come across the issue of having Views and Controls be strongly typed. An exception is thrown indicating that the type cannot be resolved.

I found this article which describes implementing a web.config section which allows that strongly typed view declaration to be parsed correctly.

How can I parse a web.config that is embedded in a class library as a resource? Would this require a custom build provider?

A: 

I think your confused?

All you have to do is create a web.config file and put the code in the article you found in the folder where you are storing your views. Thats it.

jfar