IIS express doesn't show index.cshtml in one folder but in other it shows

前端 未结 2 855
悲&欢浪女
悲&欢浪女 2020-12-22 06:34

I\'m developing an ASP.NET MVC 5 application with C# and .Net Framework 4.7.

I\'ve just created a new ASP.NET MVC 5 controller:

using System;
using S         


        
2条回答
  •  一生所求
    2020-12-22 06:59

    But I have added a breakpoint at ReportsController.Index method and it doesn't stop.

    Since it's deployed in IIS, just setting an breakpoint won't enough, you will have to attach the w3wp worker process to the debugger in-order to debug.

    How to attach an external process to VS debugger?

    See MSDN for more information.

提交回复
热议问题