60 references to RunExeCommand
dotnet.Tests (4)
CommandTests\Publish\GivenDotnetPublishPublishesProjects.cs (3)
126new RunExeCommand(Log, outputProgram) 145new RunExeCommand(Log, outputProgram) 231var command = new RunExeCommand(Log, outputProgram);
CommandTests\Run\RunFileTests.cs (1)
1508new RunExeCommand(Log, Path.Join(publishDir, "Program", $"Program{Constants.ExeSuffix}"))
dotnet-MsiInstallation.Tests (1)
Framework\VirtualMachine.cs (1)
365var result = new RunExeCommand(Log, "robocopy", action.SourcePath, targetSharePath, "/mir")
EndToEnd.Tests (2)
GivenDotNetLinuxInstallers.cs (2)
50new RunExeCommand(Log, "dpkg") 68new RunExeCommand(Log, "rpm")
Microsoft.DotNet.PackageInstall.Tests (4)
EndToEndToolTests.cs (2)
41new RunExeCommand(Log, shimPath) 74new RunExeCommand(Log, shimPath)
NuGetPackageInstallerTests.cs (1)
160new RunExeCommand(Log, "dotnet", "nuget", "locals", "all", "--list")
ToolPackageDownloaderTests.cs (1)
550new RunExeCommand(Log, "dotnet", "nuget", "locals", "all", "--list")
Microsoft.NET.Build.Tests (23)
AppHostTests.cs (2)
71new RunExeCommand(Log, Path.Combine(outputDirectory.FullName, hostExecutable)) 110new RunExeCommand(Log, codesignPath, new string[] { "-d", appHostFullPath })
ArtifactsOutputPathTests.cs (1)
601new RunExeCommand(Log, binary.FullName)
COMReferenceTests.cs (1)
59var runCommand = new RunExeCommand(Log, outputDirectory.File("UseComReferences.exe").FullName);
GenerateResourceTests.cs (1)
64var runCommand = new RunExeCommand(Log, Path.Combine(outputDirectory.FullName, "HelloWorld.exe"));
GivenThatWeWantAllResourcesInSatellite.cs (1)
78command = new RunExeCommand(log, Path.Combine(outputDirectory.FullName, "AllResourcesInSatellite.exe"));
GivenThatWeWantToBuildACppCliProject.cs (1)
43var runCommand = new RunExeCommand(Log, exe);
GivenThatWeWantToBuildADesktopExe.cs (2)
224var runCommand = new RunExeCommand(Log, exe); 325var runCommand = new RunExeCommand(Log, exe);
GivenThatWeWantToBuildALibrary.cs (1)
548var runCommand = new RunExeCommand(Log, Path.Combine(buildCommand.GetOutputDirectory(targetFramework).FullName, $"{testProj.Name}.exe"));
GivenThatWeWantToBuildAnAppWithLibrariesAndRid.cs (1)
53new RunExeCommand(Log, selfContainedExecutableFullPath)
GivenThatWeWantToBuildANetCoreApp.cs (1)
1129var runCommand = new RunExeCommand(Log, Path.Combine(buildCommand.GetOutputDirectory(ToolsetInfo.CurrentTargetFramework).FullName, $"{testProj.Name}{EnvironmentInfo.ExecutableExtension}"));
GivenThatWeWantToBuildAppsWithFrameworkRefs.cs (1)
44new RunExeCommand(Log, Path.Combine(outputDirectory.FullName, "EntityFrameworkApp.exe"))
GivenThatWeWantToBuildASelfContainedApp.cs (5)
78new RunExeCommand(Log, selfContainedExecutableFullPath) 143new RunExeCommand(Log, selfContainedExecutableFullPath) 519new RunExeCommand(Log, exePath) 589new RunExeCommand(Log, selfContainedExecutableFullPath) 632new RunExeCommand(Log, selfContainedExecutableFullPath)
GivenThatWeWantToBuildAWindowsRuntimeComponent.cs (1)
192new RunExeCommand(Log, exePath)
GivenThatWeWantToTargetNet471.cs (1)
482new RunExeCommand(Log, exePath)
ReferenceExeTests.cs (2)
149new RunExeCommand(Log, mainExePath) 157var referencedExeResult = new RunExeCommand(Log, referencedExePath)
RoslynBuildTaskTests.cs (1)
155var runCommand = new RunExeCommand(Log, outputFile.FullName);
Microsoft.NET.Publish.Tests (24)
GivenThatWeWantToPublishACppCliProject.cs (1)
33var runCommand = new RunExeCommand(Log, exe);
GivenThatWeWantToPublishAFrameworkDependentApp.cs (1)
85new RunExeCommand(Log, Path.Combine(publishDirectory.FullName, appHostName))
GivenThatWeWantToPublishAHelloWorldProject.cs (3)
122new RunExeCommand(Log, selfContainedExecutableFullPath) 369runCommand = new RunExeCommand(Log, selfContainedExecutableFullPath); 1152TestCommand runCommand = new RunExeCommand(Log, Path.Combine(publishDirectory, $"{testProject.Name}{Constants.ExeSuffix}"));
GivenThatWeWantToPublishAnAotApp.cs (8)
75var command = new RunExeCommand(Log, publishedExe) 109var command = new RunExeCommand(Log, publishedExe) 164var command = new RunExeCommand(Log, publishedExe) 216var command = new RunExeCommand(Log, publishedExe) 305var command = new RunExeCommand(Log, publishedExe) 344var command = new RunExeCommand(Log, publishedExe) 749var command = new RunExeCommand(Log, publishedExe) 844var command = new RunExeCommand(Log, publishedExe)
GivenThatWeWantToPublishAnAppWithLibrariesAndRid.cs (1)
51new RunExeCommand(Log, Path.Combine(publishDirectory.FullName, selfContainedExecutable))
GivenThatWeWantToPublishASingleFileApp.cs (5)
116var exeCommand = new RunExeCommand(Log, singleFilePath); 330var command = new RunExeCommand(Log, singleFilePath); 572var command = new RunExeCommand(Log, singleFilePath); 829var command = new RunExeCommand(Log, singleFilePath); 1032var command = new RunExeCommand(Log, singleFilePath);
GivenThatWeWantToPublishAWebApp.cs (1)
101new RunExeCommand(Log, Path.Combine(output.FullName, $"{testProject.Name}{Constants.ExeSuffix}"))
GivenThatWeWantToRunILLink.cs (1)
134var command = new RunExeCommand(Log, exe)
RuntimeIdentifiersTests.cs (3)
66new RunExeCommand(Log, selfContainedExecutableFullPath) 108new RunExeCommand(Log, selfContainedExecutableFullPath) 175new RunExeCommand(Log, selfContainedExecutableFullPath)
Microsoft.NET.TestFramework (1)
Utilities\MachOSignature.cs (1)
24return new RunExeCommand(log, codesignPath, "-v", file.FullName)
Microsoft.NET.ToolPack.Tests (1)
GivenThatWeWantToPackAToolProjectWithPackagedShim.cs (1)
446var command = new RunExeCommand(Log, shimPath)