22 references to Module
dotnet (22)
Commands\Test\MTP\TestApplication.cs (22)
129
FileName =
Module
.RunProperties.Command,
137
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
139
processStartInfo.WorkingDirectory =
Module
.RunProperties.WorkingDirectory;
142
if (
Module
.LaunchSettings is ProjectLaunchProfile)
144
foreach (var entry in
Module
.LaunchSettings.EnvironmentVariables)
156
!string.IsNullOrEmpty(
Module
.LaunchSettings.CommandLineArgs))
158
processStartInfo.Arguments = $"{processStartInfo.Arguments} {
Module
.LaunchSettings.CommandLineArgs}";
162
if (
Module
.DotnetRootArchVariableName is not null)
164
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
180
StringBuilder builder = new(
Module
.RunProperties.Arguments);
373
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
375
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
378
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
380
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
383
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
385
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
388
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
390
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
393
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
395
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
427
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
428
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");