Visual Studio dotnet core socket error during test discovery
<p>I am creating a test project in Visual Studio. It builds, but fails to discover the tests in the project with the following error:</p>

<pre><code>Unable to start C:\Program Files\dotnet\dotnet.exe
dotnet-test Error: 0 : [ReportingChannel]: Waiting for message failed System.IO.IOException: Unable to read data from the transport connection: An established connection was aborted by the software in your host machine. ---&gt; System.Net.Sockets.SocketException: An established connection was aborted by the software in your host machine
</code></pre>

<p>The full text of the error log can be seen here <a href="https://github.com/dotnet/cli/issues/4417" rel="nofollow noreferrer">at this Github issue</a></p>

<p>Here is my project.json file</p>

<pre><code>"version": "1.0.0-*",

"dependencies": {
    "MyProject.Web": {
        "target": "project",
        "version": "1.0.0-*"
    },
    "Moq": "4.6.38-alpha",
    "xunit": "2.2.0-beta3-build3402",
            "xunit.runner.console": "2.2.0-beta3-build3402",
    "xunit.runner.visualstudio": "2.2.0-beta3-build1187"
},

"testRunner": "xunit",

"frameworks": {
    "netcoreapp1.0": {
        "imports": "dnxcore50",
        "dependencies": {
            "Microsoft.NETCore.App": {
                "type": "platform",
                "version": "1.0.0"
            }
        }
    }
},
"runtimes": {
    "win10-x64": {}
}
</code></pre>

<p>The frustrating part is that up until yesterday this project had been working fine for a couple of weeks with 40 or so tests.  Any ideas how to get past this problem?</p>