22 references to Module
dotnet (22)
Commands\Test\MTP\TestApplication.cs (22)
86
FileName =
Module
.RunProperties.Command,
94
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
96
processStartInfo.WorkingDirectory =
Module
.RunProperties.WorkingDirectory;
99
if (
Module
.LaunchSettings is not null)
101
foreach (var entry in
Module
.LaunchSettings.EnvironmentVariables)
114
!string.IsNullOrEmpty(
Module
.LaunchSettings.CommandLineArgs))
116
processStartInfo.Arguments = $"{processStartInfo.Arguments} {
Module
.LaunchSettings.CommandLineArgs}";
120
if (
Module
.DotnetRootArchVariableName is not null)
122
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
137
StringBuilder builder = new(
Module
.RunProperties.Arguments);
324
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
326
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
329
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
331
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
334
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
336
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
339
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
341
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
344
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
346
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
378
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
379
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");