mcintyre321 / EmbeddedResourceVirtualPathProvider

A custom VirtualPathProvider for IIS - load views and assets from Embedded Resources in referenced assemblies
http://www.adverseconditionals.com/2011/07/portable-aspnet-code-using.html
MIT License
63 stars 42 forks source link

Does not work in IIS #16

Closed Serboy closed 9 years ago

Serboy commented 9 years ago

Hi, I have a problem when I deployed it on my local iis, "The view 'Frontend/Default' or its master was not found or no view engine supports the searched locations. The following locations were searched:" any suggestions on how to fixt this?

Thanks, Renz

mcintyre321 commented 9 years ago

It's a bit weird that the locations searched is empty. Have you unregisted the default view engine, or cleared out it's search paths? Do other non-embbed views in the host project work?

Does the example project in this project work if you download it locally?

Also make sure

a/ registered the VPP b/ embedded the resource