26 references to Module
dotnet-aot (26)
parent\dotnet\Commands\Test\MTP\TestApplication.cs (26)
287
FileName =
Module
.RunProperties.Command,
295
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
297
processStartInfo.WorkingDirectory =
Module
.RunProperties.WorkingDirectory;
300
if (
Module
.LaunchSettings is ProjectLaunchProfile)
302
foreach (var entry in
Module
.LaunchSettings.EnvironmentVariables)
309
!string.IsNullOrEmpty(
Module
.LaunchSettings.CommandLineArgs))
311
processStartInfo.Arguments = $"{processStartInfo.Arguments} {
Module
.LaunchSettings.CommandLineArgs}";
317
foreach (var (name, value) in
Module
.EnvironmentVariables)
322
if (
Module
.DotnetRootArchVariableName is not null)
324
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
355
?
Module
.RunProperties.Arguments
356
: GetArtifactPostProcessingLaunchArguments(
Module
));
387
if (_resultsDirectoryResolver.Resolve(
Module
) is { } resultsDirectoryPath)
414
if (RequiresHttpTransport(
Module
))
1093
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
1095
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
1098
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
1100
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
1103
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
1105
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
1108
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
1110
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
1113
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
1115
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
1147
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
1148
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");