? environmentVariables = null, string? workingDirectory = null)
{
environmentVariables ??= new();
@@ -799,7 +809,7 @@ private static void ExecutePatchedDotnet(string command, string args, out string
var executablePath = OSUtils.IsWindows ? @"dotnet.exe" : @"dotnet";
var patchedDotnetPath = Path.GetFullPath(Path.Combine(IntegrationTestEnvironment.RepoRootDirectory, "artifacts", "tmp", ".dotnet", executablePath));
- ExecuteApplication(patchedDotnetPath, string.Join(" ", command, args), out stdOut, out stdError, out exitCode, environmentVariables);
+ ExecuteApplication(patchedDotnetPath, string.Join(" ", command, args), out stdOut, out stdError, out exitCode, environmentVariables, workingDirectory);
}
protected static void ExecuteApplication(string path, string? args, out string stdOut, out string stdError, out int exitCode,
@@ -855,6 +865,7 @@ protected static void ExecuteApplication(string path, string? args, out string s
Console.WriteLine("IntegrationTestBase.Execute: Path = {0}", process.StartInfo.FileName);
Console.WriteLine("IntegrationTestBase.Execute: Arguments = {0}", process.StartInfo.Arguments);
+ Console.WriteLine("IntegrationTestBase.Execute: WorkingDirectory = {0}", StringUtils.IsNullOrWhiteSpace(process.StartInfo.WorkingDirectory) ? $"(Current Directory) {Directory.GetCurrentDirectory()}" : process.StartInfo.WorkingDirectory);
var stopwatch = new Stopwatch();
stopwatch.Start();
diff --git a/src/vstest/test/Microsoft.TestPlatform.Utilities.UnitTests/Microsoft.TestPlatform.Utilities.UnitTests.csproj b/src/vstest/test/Microsoft.TestPlatform.Utilities.UnitTests/Microsoft.TestPlatform.Utilities.UnitTests.csproj
index 2247db2ab0f..86bbf395d82 100644
--- a/src/vstest/test/Microsoft.TestPlatform.Utilities.UnitTests/Microsoft.TestPlatform.Utilities.UnitTests.csproj
+++ b/src/vstest/test/Microsoft.TestPlatform.Utilities.UnitTests/Microsoft.TestPlatform.Utilities.UnitTests.csproj
@@ -8,7 +8,7 @@
net9.0;net48
- Exe
+ Exe
Microsoft.TestPlatform.Utilities.UnitTests
diff --git a/src/vstest/test/Microsoft.TestPlatform.Utilities.UnitTests/Program.cs b/src/vstest/test/Microsoft.TestPlatform.Utilities.UnitTests/Program.cs
deleted file mode 100644
index 20f06189b89..00000000000
--- a/src/vstest/test/Microsoft.TestPlatform.Utilities.UnitTests/Program.cs
+++ /dev/null
@@ -1,11 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-namespace Microsoft.TestPlatform.Utilities.UnitTests;
-
-public static class Program
-{
- public static void Main()
- {
- }
-}
diff --git a/src/vstest/test/SettingsMigrator.UnitTests/SettingsMigrator.UnitTests.csproj b/src/vstest/test/SettingsMigrator.UnitTests/SettingsMigrator.UnitTests.csproj
index b2eb1760e9c..60915654882 100644
--- a/src/vstest/test/SettingsMigrator.UnitTests/SettingsMigrator.UnitTests.csproj
+++ b/src/vstest/test/SettingsMigrator.UnitTests/SettingsMigrator.UnitTests.csproj
@@ -4,6 +4,7 @@
true
true
false
+ Exe
diff --git a/src/vstest/test/TestAssets/ArchitectureSwitch/global.json b/src/vstest/test/TestAssets/ArchitectureSwitch/global.json
deleted file mode 100644
index c8c7401e654..00000000000
--- a/src/vstest/test/TestAssets/ArchitectureSwitch/global.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "sdk": {
- "version": "6.0.200-preview"
- }
-}
\ No newline at end of file
diff --git a/src/vstest/test/TestAssets/CUITTestProject/CUITTestProject.csproj b/src/vstest/test/TestAssets/CUITTestProject/CUITTestProject.csproj
deleted file mode 100644
index 44dffdbef08..00000000000
--- a/src/vstest/test/TestAssets/CUITTestProject/CUITTestProject.csproj
+++ /dev/null
@@ -1,47 +0,0 @@
-
-
-
-
- true
- true
-
-
-
- CUITTestProject
- $(NetFrameworkMinimum)
- Exe
-
-
-
-
- ..\..\..\.packages\microsoft.visualstudio.cuit\$(TestPlatformExternalsVersion)\tools\net451\Microsoft.VisualStudio.QualityTools.CodedUITestFramework.dll
-
-
- ..\..\..\.packages\microsoft.visualstudio.qualitytools\$(TestPlatformExternalsVersion)\tools\net451\Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
-
-
- ..\..\..\.packages\microsoft.visualstudio.cuit\$(TestPlatformExternalsVersion)\tools\net451\Microsoft.VisualStudio.TestTools.UITest.Common.dll
-
-
- ..\..\..\.packages\microsoft.visualstudio.cuit\$(TestPlatformExternalsVersion)\tools\net451\Microsoft.VisualStudio.TestTools.UITest.Extension.dll
-
-
- ..\..\..\.packages\microsoft.visualstudio.cuit\$(TestPlatformExternalsVersion)\tools\net451\Microsoft.VisualStudio.TestTools.UITesting.dll
-
-
-
-
-
-
-
- $(TestPlatformExternalsVersion)
-
-
- $(TestPlatformExternalsVersion)
-
-
-
-
-
-
-
diff --git a/src/vstest/test/TestAssets/CUITTestProject/CodedUITest1.cs b/src/vstest/test/TestAssets/CUITTestProject/CodedUITest1.cs
deleted file mode 100644
index 808ac345d04..00000000000
--- a/src/vstest/test/TestAssets/CUITTestProject/CodedUITest1.cs
+++ /dev/null
@@ -1,18 +0,0 @@
-// Copyright (c) Microsoft Corporation. All rights reserved.
-// Licensed under the MIT license. See LICENSE file in the project root for full license information.
-
-using Microsoft.VisualStudio.TestTools.UITesting;
-using Microsoft.VisualStudio.TestTools.UnitTesting;
-
-namespace CodedUITestProject
-{
- [CodedUITest]
- public class CodedUITestProject
- {
- [TestMethod]
- public void CodedUITestMethod1()
- {
- UITestControl.Desktop.DrawHighlight();
- }
- }
-}
diff --git a/src/vstest/test/TestAssets/QualityToolsAssets/BingWebTest/BingWebTest.csproj b/src/vstest/test/TestAssets/QualityToolsAssets/BingWebTest/BingWebTest.csproj
index e9c0056a3f4..248b264e3e2 100644
--- a/src/vstest/test/TestAssets/QualityToolsAssets/BingWebTest/BingWebTest.csproj
+++ b/src/vstest/test/TestAssets/QualityToolsAssets/BingWebTest/BingWebTest.csproj
@@ -17,7 +17,6 @@
10.0
$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)
$(ProgramFiles)\Common Files\microsoft shared\VSTT\$(VisualStudioVersion)\UITestExtensionPackages
- False
true
@@ -54,24 +53,6 @@
PreserveNewest
-
-
-
-
- False
-
-
- False
-
-
- False
-
-
- False
-
-
-
-
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies:
Alternative Proxy
pFad Proxy
pFad v3 Proxy
pFad v4 Proxy