Sublime Forum

ST3 - plugin_host has exited unexpectedly

#1

I’m trying to run a bunch of unit tests for a .NET application (C#). I’ve created a custom build for this:

{
//build
“cmd”: “msbuild”, “iChoosr.sln”, “/p:Configuration=Debug”, “/v:Minimal”],
“path”: “C:/Windows/Microsoft.NET/Framework/v4.0.30319”,
“working_dir” : “${project_path:${folder}}”,
“variants”:

    //unit tests
    {
      "cmd": 
      	"nunit-console-x86.exe", "/noresult", 
      	"${project_path:${folder}}/iChoosr.Domain.Tests/bin/Debug/iChoosr.Domain.Tests.dll",
      	"${project_path:${folder}}/iChoosr.Infrastructure.Tests/bin/Debug/iChoosr.Infrastructure.Tests.dll", 
      	"${project_path:${folder}}/iChoosr.System.Tests/bin/Debug/iChoosr.System.Tests.dll",
      	"${project_path:${folder}}/iChoosr.Packages.Tests/bin/Debug/iChoosr.Packages.Tests.dll", 
      	"${project_path:${folder}}/iChoosr.Tests/bin/Debug/iChoosr.Web.Tests.dll",
      	"${project_path:${folder}}/iChoosr.Webservice.Tests/bin/Debug/iChoosr.Webservice.Tests.dll",
      	"/domain=None"
      ],
      "path": "C:/Program Files (x86)/TestDriven.NET 3/NUnit/2.6",
      "working_dir" : "${project_path:${folder}}",
      "name": "unit_tests"
    },
   
        ... other commands ...
]

}

Somewhere half-way through, I always get the following error:

“plugin_host has exited unexpectedly, plugin functionality won’t be available until Sublime Text has been restarted”.

A colleague of mine, which is running ST2, doesn’t get these errors. You can e-mail me for a dump file as I was unable to attach one to this post.

0 Likes