Visual Studio 2017,无法调试或运行应用程序

编程入门 行业动态 更新时间:2024-10-07 10:22:27
本文介绍了Visual Studio 2017,无法调试或运行应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

今天打开计算机后,我完全无法调试或运行该应用程序.如果我发布该项目,则效果很好.但是,如果我从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,无法调试或运行应用程序

本文发布于:2023-11-13 02:57:17,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1583234.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   Visual   Studio

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!