[英].Net Core Console App - Debug Fails - The connection with the remote endpoint was terminated
Debug-->Start Debugging fails with error "The connection with the Remote Endpoint was terminated". 调试 - >启动调试失败,并显示错误“与远程端点的连接已终止”。
Developed a very simple .Net Core Console Application with a small set of dependencies and < 100 lines of code. 开发了一个非常简单的.Net Core Console应用程序,它具有一小组依赖关系和<100行代码。 In fact Project.JSON is below.
实际上Project.JSON如下。 It ran great on my machine.
它在我的机器上跑得很好。 When another developer Git-Cloned it and tried to debug it in VS 2015, they keep getting "Unable to start program... The connection with the remote endpoint was terminated".
当另一位开发人员Git-Cloned它并试图在VS 2015中调试它时,他们不断得到“无法启动程序......终止与远程端点的连接”。 I am at a loss because there should not be a "remote endpoint".
我不知所措,因为不应该有“远程端点”。 This is a local machine application.
这是本地机器应用程序。 This is not a web application and it is not set to run/connect to or debug on another machine, so what causes this error?
这不是一个Web应用程序,它没有设置为在另一台机器上运行/连接或调试,因此导致此错误的原因是什么?
Project.json: Project.json:
{
"version": "1.0.0-*",
"buildOptions": {
"emitEntryPoint": true
},
"dependencies": {
"Dapper": "1.50.0",
"Oracle.ManagedDataAccess": "12.1.24160719",
"Newtonsoft.Json": "9.0.1",
"ETimeLibrary": "1.0.0"
},
"frameworks": {
"net461": {
"frameworkAssemblies": {
"System.Net": "4.0.0.0"
}
}
}
}
I sincerely hope this saves someone a week's worth of aggravation in the future. 我真诚地希望这可以为将来一个星期的人们带来更多的恶化。 The issue ended up being the Digital Guardian software.
该问题最终成为Digital Guardian软件。 I never want to leave my own questions unanswered.
我从不想把自己的问题留下来。
Now for some editorial comments: What a horrible software package! 现在有一些编辑评论:多么可怕的软件包! Been doing Microsoft Stack development since VB 3.0 and never did I run into an issue with Visual Anything (Interdev, Studio, etc.) not working that was this hard to figure out.
从VB 3.0开始就一直在进行Microsoft Stack开发,从来没有遇到过Visual Anything(Interdev,Studio等)的问题,这个问题很难解决。 Not only did it break debugging 64-bit applications (debugger works if you set your configuration and debug x86 or 32-bit), but it also slowed the machine down to a crawl.
它不仅破坏了调试64位应用程序(如果您设置配置并调试x86或32位,调试器也可以工作),但它也会使机器速度降低到爬行速度。 Just say "no" to digital guardian.
对数字监护人说“不”。
检查Azure应用程序上的远程调试是否在门户中设置为ON并且具有正确的Remote Visual Studio版本。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.