This is not a valid location for a breakpoint

后端 未结 4 2234
梦毁少年i
梦毁少年i 2021-02-13 03:44

I am trying to put a breakpoint on below mentioned page in my ASP.Net MVC 2 application\'s .ascx or .aspx files in Visual Studio 2010. But it won\'t let me, it shows:

4条回答
  •  清酒与你
    2021-02-13 04:18

    After showed the syntax highlighting issue by @Keith I went through my file top to bottom and vice-verse. Then I have found the issue.

    There was a warning message on my project as I showed on EDIT 4 above.

    After I solved that issue, Brake point (debug) issue also vanished.

    For that I have used below mentioned Link.

    Could not load file or assembly 'msshrtmi' - incorrect format in Azure deployment

    In future I will write a complete step by step guide to show how to get rid-off this issue.

    Thanks for every one who gave me a support.

提交回复
热议问题