diff --git a/tests/MSBuildDeviceIntegration/Tests/InstallTests.cs b/tests/MSBuildDeviceIntegration/Tests/InstallTests.cs index 57591ee8fc9..7161e21b5f2 100644 --- a/tests/MSBuildDeviceIntegration/Tests/InstallTests.cs +++ b/tests/MSBuildDeviceIntegration/Tests/InstallTests.cs @@ -296,7 +296,7 @@ public void ToggleDebugReleaseWithSigning ([Values ("aab", "apk")] string packag AssertCommercialBuild (); AssertHasDevices (); - string path = Path.Combine ("temp", TestName); + string path = Path.Combine ("temp", TestName.Replace ("\"", string.Empty)); byte [] data = ResourceData.GetKeystore (); string storepassfile = Path.Combine (Root, path, "storepass.txt"); string keypassfile = Path.Combine (Root, path, "keypass.txt"); @@ -324,7 +324,7 @@ public void ToggleDebugReleaseWithSigning ([Values ("aab", "apk")] string packag Encoding = Encoding.ASCII, }); - using (var builder = CreateApkBuilder (Path.Combine ("temp", TestContext.CurrentContext.Test.Name))) { + using (var builder = CreateApkBuilder (path)) { Assert.IsTrue (builder.Install (proj), "Install should have succeeded."); //Now toggle to Release proj.IsRelease = true;