Don't use AppDomains

This is unnecessary overhead in the worker and makes the runner
significantly harder to debug.
This commit is contained in:
Jared Parsons
2015-08-19 13:57:42 -07:00
parent cf5c313d28
commit d032f3e16d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ namespace xunit.runner.worker
{
using (AssemblyHelper.SubscribeResolve())
using (var xunit = new XunitFrontController(
useAppDomain: true,
useAppDomain: false,
assemblyFileName: fileName,
diagnosticMessageSink: new MessageVisitor(),
shadowCopy: false))
+1 -1
View File
@@ -63,7 +63,7 @@ namespace xunit.runner.worker
using (AssemblyHelper.SubscribeResolve())
using (var xunit = new XunitFrontController(
assemblyFileName: assemblyPath,
useAppDomain: true,
useAppDomain: false,
shadowCopy: false,
diagnosticMessageSink: new MessageVisitor()))
using (var writer = new BinaryWriter(stream, Constants.Encoding, leaveOpen: true))