Visual Studio 2017 错误:无法启动程序,当前状态下的操作不合法

10

本文介绍了Visual Studio 2017 错误:无法启动程序,当前状态下的操作不合法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

问题描述

限时送ChatGPT账号..

全新安装 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

推荐答案

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

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

转到工具>选项>调试>常规并关闭为 ASP.NET(Chrome 和 IE)启用 JavaScript 调试设置.

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

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

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

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/

这篇关于Visual Studio 2017 错误:无法启动程序,当前状态下的操作不合法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

The End

相关推荐

将运算符与其他参数一起传递
Passing an operator along with other parameters(将运算符与其他参数一起传递)...
2023-11-11 C#/.NET开发问题
6

Func<string,string> 有什么区别?和委托?
What is the difference between Funclt;string,stringgt; and delegate?(Funclt;string,stringgt; 有什么区别?和委托?)...
2023-11-11 C#/.NET开发问题
3

ASP.NET MVC 中的 <%: 和 <%= 有什么区别?
What is the difference between lt;%: and lt;%= in ASP.NET MVC?(ASP.NET MVC 中的 lt;%: 和 lt;%= 有什么区别?)...
2023-11-10 C#/.NET开发问题
0

标签系统的 linq 查询 - 搜索多个标签
linq query for tag system - search for multiple tags(标签系统的 linq 查询 - 搜索多个标签)...
2023-11-10 C#/.NET开发问题
0

论坛标签.实施它们的最佳方法是什么?
Forum tags. What is the best way to implement them?(论坛标签.实施它们的最佳方法是什么?)...
2023-11-10 C#/.NET开发问题
1

html 脚本标签未使用类型 javascript <script type="text
html script tag not using type javascript lt;script type=quot;text/htmlquot;gt;?(html 脚本标签未使用类型 javascript lt;script type=quot;text/htmlgt;gt;?)...
2023-11-10 C#/.NET开发问题
6