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