问题描述
全新安装 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 错误:无法启动程序,当前状态下的操作不合法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!


大气响应式网络建站服务公司织梦模板
高端大气html5设计公司网站源码
织梦dede网页模板下载素材销售下载站平台(带会员中心带筛选)
财税代理公司注册代理记账网站织梦模板(带手机端)
成人高考自考在职研究生教育机构网站源码(带手机端)
高端HTML5响应式企业集团通用类网站织梦模板(自适应手机端)