28 references to Module
dotnet-aot (28)
parent\dotnet\Commands\Test\MTP\TestApplication.cs (28)
295
FileName =
Module
.RunProperties.Command,
303
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
305
processStartInfo.WorkingDirectory =
Module
.RunProperties.WorkingDirectory;
308
if (
Module
.LaunchSettings is ProjectLaunchProfile)
310
foreach (var entry in
Module
.LaunchSettings.EnvironmentVariables)
317
!string.IsNullOrEmpty(
Module
.LaunchSettings.CommandLineArgs))
319
processStartInfo.Arguments = $"{processStartInfo.Arguments} {
Module
.LaunchSettings.CommandLineArgs}";
325
foreach (var (name, value) in
Module
.EnvironmentVariables)
330
if (
Module
.DotnetRootArchVariableName is not null)
332
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
363
?
Module
.RunProperties.Arguments
364
: GetArtifactPostProcessingLaunchArguments(
Module
));
371
MicrosoftTestingPlatformTestCommand.GetEffectiveTestApplicationArguments(
Module
, _buildOptions),
396
if (_resultsDirectoryResolver.Resolve(
Module
) is { } resultsDirectoryPath)
423
if (RequiresHttpTransport(
Module
))
941
&& !RequiresHttpTransport(
Module
)
1156
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
1158
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
1161
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
1163
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
1166
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
1168
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
1171
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
1173
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
1176
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
1178
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
1210
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
1211
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");