global.asax breakpoint not hit

后端 未结 6 1339
自闭症患者
自闭症患者 2021-01-04 05:39

I have some code in my ASP.NET app in C# that\'s in the Global.asax.cs code file. In the Application_Start, Session_Start and Ap

6条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-04 06:07

    What helped me was to add:

    System.Diagnostics.Debugger.Break(); to that Application_Start() method.

提交回复
热议问题