diff --git a/NUnitTest/TicTacToeTests.cs b/NUnitTest/TicTacToeTests.cs index 2094919..afc15e0 100644 --- a/NUnitTest/TicTacToeTests.cs +++ b/NUnitTest/TicTacToeTests.cs @@ -28,7 +28,7 @@ public class GameSetting [SetUp] public void TestSetup() { - string msbuildDir = new DirectoryInfo(Path.Combine(TestContext.CurrentContext.TestDirectory, @"..\..\..")).FullName; + string msbuildDir = new DirectoryInfo(Path.Combine(TestContext.CurrentContext.TestDirectory,"..","..","..")).FullName; var TicTacToeDataConnString = TestContext.Parameters.Get("TicTacToeDataConnString", string.Empty).Replace("$(MSBuildProjectDirectory)", msbuildDir); Assert.IsNotEmpty(TicTacToeDataConnString);