26 references to Module
dotnet (26)
Commands\Test\MTP\TestApplication.cs (26)
285
FileName =
Module
.RunProperties.Command,
293
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
295
processStartInfo.WorkingDirectory =
Module
.RunProperties.WorkingDirectory;
298
if (
Module
.LaunchSettings is ProjectLaunchProfile)
300
foreach (var entry in
Module
.LaunchSettings.EnvironmentVariables)
307
!string.IsNullOrEmpty(
Module
.LaunchSettings.CommandLineArgs))
309
processStartInfo.Arguments = $"{processStartInfo.Arguments} {
Module
.LaunchSettings.CommandLineArgs}";
315
foreach (var (name, value) in
Module
.EnvironmentVariables)
320
if (
Module
.DotnetRootArchVariableName is not null)
322
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
353
?
Module
.RunProperties.Arguments
354
: GetArtifactPostProcessingLaunchArguments(
Module
));
385
if (_resultsDirectoryResolver.Resolve(
Module
) is { } resultsDirectoryPath)
412
if (RequiresHttpTransport(
Module
))
1078
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
1080
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
1083
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
1085
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
1088
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
1090
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
1093
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
1095
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
1098
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
1100
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
1132
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
1133
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");