Visual Studio 2017错误:无法启动程序,在当前状态下操作不合法(Visual Studio 2017 error: Unable to start program, An operat

编程入门 行业动态 更新时间:2024-10-11 23:17:47
Visual Studio 2017错误:无法启动程序,在当前状态下操作不合法(Visual Studio 2017 error: Unable to start program, An operation is not legal in the current state)

在安装Visual Studio 2017之后,我尝试运行.NET Core Web项目,当试图在Chrome上运行时,我遇到这个错误:

无法启动程序,在当前状态下操作不合法

After fresh installation of Visual Studio 2017 I tried to run .NET Core Web project and when trying to run it on Chrome I am getting this error:

Unable to start program, An operation is not legal in the current state

最满意答案

对于我来说,解决方案(解决方法)是关闭Chrome上的JavaScript调试,我相信这是VS 2017中引入的一个新功能。

转到“ 工具”>“选项”>“调试”>“常规” ,关闭“ 启用JavaScript调试”(Chrome和IE)的设置

VS2017禁用JS调试

这是一个已知的问题, 似乎正在进行调查 。

有关JS 2017中JS调试的完整信息,请访问https://blogs.msdn.microsoft.com/webdev/2016/11/21/client-side-debugging-of-asp-net-projects-in-google-chrome/

For me, the solution (workaround) is to turn off JavaScript debugging on Chrome, which I believe is a new feature introduced in VS 2017.

Go to Tools > Options > Debugging > General and turn off the setting for Enable JavaScript Debugging for ASP.NET (Chrome and IE).

VS2017 Disable JS Debugging

This is a known issue already, and seems to have an investigation underway.

Full information about JS debugging in VS 2017 here: https://blogs.msdn.microsoft.com/webdev/2016/11/21/client-side-debugging-of-asp-net-projects-in-google-chrome/

更多推荐

本文发布于:2023-08-06 18:50:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1452738.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不合法   无法启动   错误   操作   程序

发布评论

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

>www.elefans.com

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