我正在尝试通过Visual Studio 2019使用Internet Explorer调试项目,它总是会抛出异常''
System.NullReferenceException: Object reference not set to an instance of an object.
at Grand.Framework.Infrastructure.Extensions.ApplicationBuilderExtensions.<>c__DisplayClass1_0.
<UseGrandExceptionHandler>b__1(HttpContext context) in
D:\gn\Grand.Framework\Infrastructure\Extensions\ApplicationBuilderExtensions.cs:line 92
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)
我不明白为什么会这样,我认为页面是在服务器上呈现的。我已经尝试使用IIS和IIS Express。谷歌浏览器工作正常,但其他任何浏览器(firefox,IE,edge)都将显示此错误。