BuildManager.CreateInstanceFromVirtualPath ignores compiled code
- by Vnuk
This question is related to
http://stackoverflow.com/questions/2158425/why-cant-i-publish-mvc-project
I've replaced System.Web.MVC with its source version. After some debugging I pinpointed my problem to line 50 of WebFormViewEngine.cs:
protected override bool FileExists(ControllerContext controllerContext, string virtualPath) {
…