title: Load Web.Config as embedded resource inside a DLL in ASP.NET MVC
body: <p>Following on from my <a href="https://stackoverflow.com/questions/236972/using-virtualpathprovider-to-load-asp-net-mvc-views-from-dlls">earlier question</a> 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. </p>
  
  <p>I found <a href="http://panteravb.com/blog/posts/2009/2/14/so-thats-what-that-webconfig-in-the-views-folder-is-for.ashx" rel="nofollow noreferrer">this</a> article which describes implementing a web.config section which allows that strongly typed view declaration to be parsed correctly.</p>
  
  <p>How can I parse a web.config that is embedded in a class library as a resource? Would this require a custom build provider?</p>