I am trying to deploy my web project and I keep getting this error:
Line 1: <%@ Application Codebehind=“Global.asax.cs” Inherits=“nadeem.MvcApplication” Langu
I'd a similar problem in WebAPI (related MVC).
I fixed with:
Adding ".Global" to inherits in .asax file (not asax.cs)
Inherits="mynamespace.WebAPI.Global"
and changing the public class (asax.cs)
public class Global : System.Web.HttpApplication