I have several MVC4 applications, that when published via a Web Deploy, they don't always write the two files bin\App_global.asax.compiled
and bin\App_global.asax.dll
. If I publish multiple times it eventually will publish this file.
Without the files the route tables aren't built, and I get a 403.14
error when trying to access any controller functions.
I have this problem in both VS2012 Ultimate Update 4 and VS2013 Ultimate Update 1.
If I run the Publish preview it will generally tell me that it is going to delete both of these files, and if I refresh the preview it will change from delete for those two files to Update.