IIs Error: Application Codebehind=“Global.asax.cs” Inherits=“nadeem.MvcApplication”

前端 未结 22 3325
灰色年华
灰色年华 2021-02-19 15:16

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         


        
22条回答
  •  余生分开走
    2021-02-19 16:20

    Nothing above worked for me. Everything was correct.

    Close the Visual Studio and reopen again. This fixed the issue in my case.

    The problem could have been caused by different versions of visual studio. I have Visual studio 2017 and 2019. I had opened the project on both the versions simultaneously. This might have created different set of vs files.

    Close any instance of the Visual Studio and open again.

提交回复
热议问题