今天打开计算机后,我完全无法调试或运行该应用程序.如果我发布该项目,则效果很好.但是,如果我从Visual Studio中运行它,则只是卡住了,Visual Studio停止了响应.
After I turned on my computer today, I haven't been able to debug or run the application at all. If I publish the project, it works fine. But if I run it from Visual Studio, it's just stuck loading and Visual Studio stops responding.
这是我强制退出应用程序时遇到的错误:
Here are the errors I get when I force quit the application:
引发异常:mscorlib.dll中的'System.UnauthorizedAccessException' 引发异常:mscorlib.dll中的'System.Globalization.CultureNotFoundException' 引发异常:mscorlib.dll中的'System.Security.SecurityException' 程序"[6276] chrome.exe:WebKit"已退出,代码为-1(0xffffffff). 程序"[8852] iisexpress.exe"已退出,代码为-1(0xffffffff).
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll Exception thrown: 'System.Globalization.CultureNotFoundException' in mscorlib.dll Exception thrown: 'System.Security.SecurityException' in mscorlib.dll The program '[6276] chrome.exe: WebKit' has exited with code -1 (0xffffffff). The program '[8852] iisexpress.exe' has exited with code -1 (0xffffffff).
您是否经历过类似的经历?我一直在尝试查找答案,但找不到任何答案.我也在不同的机器上尝试过,也无法在那儿调试应用程序.
Have you ever experinced anything similar? I've been trying to look up answers but haven't been able to locate any. Also I tried on a diffrent machine, and cannot debug the application there either.
尝试使用Nuget更新和重新安装所有软件包.
Have tried updating and reinstalling all packages using Nuget.
最好的问候索兰.
推荐答案昨天Chrome更新后,我们遇到了同样的问题.如果您在选项中关闭Javascript调试,则:
We had the same problem after a Chrome update yesterday. If you switch off the Javascript debugging in options:
选项->调试->在Asp.NET中启用Javascript调试
Options -> Debugging -> Enable Javascript Debugging in Asp.NET
然后运行正常.
更多推荐
Visual Studio 2017,无法调试或运行应用程序
发布评论