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. In fact Project.JSON is below. 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". 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?
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. 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. 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. Just say "no" to digital guardian.
检查Azure应用程序上的远程调试是否在门户中设置为ON并且具有正确的Remote Visual Studio版本。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.