Class RemotingUtility
- Namespace
- Xunit
- Assembly
- xunit.v3.runner.utility.netfx.dll
Internal helper class for remoting.
public static class RemotingUtility
- Inheritance
-
RemotingUtility
- Inherited Members
Methods
CleanUpRegisteredChannels()
Unregisters any remoting channels.
public static void CleanUpRegisteredChannels()
Remarks
If there are any registered remoting channels, then MarshalByRefObjects don't work. Based on bug #9749, it's clear that MSTest (at least through Visual Studio 2010) registers remoting channels when it runs but doesn't clean them up when it's done. Right now, the only way to reliably surface this issue is through MSBuild (as per the bug repro), so for the moment this work-around code is limited to the MSBuild runner.