Visual Studio 2017 错误 -- 无法连接到运行时进程 [英] Visual Studio 2017 Error --Cannot connect to runtime process

查看:99
本文介绍了Visual Studio 2017 错误 -- 无法连接到运行时进程的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

每当我尝试从 Visual Studio 调试我的项目时,都会收到此错误.

I am getting this error whenever I try to debug my project from visual studio.

我尝试将这些设置添加到 launchSettings.json 但仍然没有区别.

I tried adding these settings to launchSettings.json but still no difference.

"protocol": "legacy", "runtimeArgs": ["--debug=5858" ], "restart": true, "port": 5858,

"protocol": "legacy", "runtimeArgs": [ "--debug=5858" ], "restart": true, "port": 5858,

我在这里做错了什么.有什么建议可以解决这个问题?

what I am I doing wrong here.Any suggestions to resolve this ?

推荐答案

我安装了另一个文件编辑器(代码编写器),它将自己设置为之前设置为 Visual Studio 的整个文件主机的默认程序.在执行 VS 安装程序修复、手动将其他关联更改回 VS 和重新启动的组合之间,它再次对我有用.

I had installed another file editor (Code Writer) that set itself as the default program for a whole host of files that were previously set to Visual Studio. Between a combination of doing a VS Installer Repair, and manually changing other associations back to VS, and a reboot, it's working for me again.

这篇关于Visual Studio 2017 错误 -- 无法连接到运行时进程的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆