[英]Visual Studio 2017, cannot debug or run the application
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.
但是,如果我从Visual Studio运行它,它只是卡住加载而Visual Studio停止响应。
Here are the errors I get when I force quit the application: 以下是强制退出应用程序时出现的错误:
Exception thrown: 'System.UnauthorizedAccessException' in mscorlib.dll
抛出异常:mscorlib.dll中的“System.UnauthorizedAccessException”
Exception thrown: 'System.Globalization.CultureNotFoundException' in mscorlib.dll抛出异常:mscorlib.dll中的“System.Globalization.CultureNotFoundException”
Exception thrown: 'System.Security.SecurityException' in mscorlib.dll抛出异常:mscorlib.dll中的“System.Security.SecurityException”
The program '[6276] chrome.exe: WebKit' has exited with code -1 (0xffffffff).程序'[6276] chrome.exe:WebKit'已退出,代码为-1(0xffffffff)。
The program '[8852] iisexpress.exe' has exited with code -1 (0xffffffff).程序'[8852] iisexpress.exe'已退出,代码为-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.
我也尝试了不同的机器,也无法在那里调试应用程序。
Have tried updating and reinstalling all packages using Nuget. 尝试使用Nuget更新并重新安装所有软件包。
Best Regards Solan. 最好的问候Solan。
We had the same problem after a Chrome update yesterday. 昨天Chrome更新后我们遇到了同样的问题。 If you switch off the Javascript debugging in options:
如果您在选项中关闭Javascript调试:
Options -> Debugging -> Enable Javascript Debugging in Asp.NET 选项 - >调试 - >在Asp.NET中启用Javascript调试
Then it runs fine. 然后运行正常。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.