Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/280.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# MSTest&x2B;国际象棋VS 2010_C#_Visual Studio 2010_Mstest - Fatal编程技术网

C# MSTest&x2B;国际象棋VS 2010

C# MSTest&x2B;国际象棋VS 2010,c#,visual-studio-2010,mstest,C#,Visual Studio 2010,Mstest,我可以在VS2010中使用CHESS&MSTest对我的多线程代码进行单元测试吗。我试过这个 [TestMethod] [HostType("Chess")] [TestProperty("ChessExpectedResult", "deadlock")] public void TestMyMethod() { ... } 但是我得到了以下错误 The host type 'Chess' cannot be loaded for the following reason: The key

我可以在VS2010中使用CHESS&MSTest对我的多线程代码进行单元测试吗。我试过这个

[TestMethod]
[HostType("Chess")]
[TestProperty("ChessExpectedResult", "deadlock")]
public void TestMyMethod()
{
...
}
但是我得到了以下错误

The host type 'Chess' cannot be loaded for the following reason: The key 'Chess' cannot be found

否,国际象棋仅支持Visual Studio 2008