22 references to Module
dotnet (22)
Commands\Test\MTP\TestApplication.cs (22)
134
FileName =
Module
.RunProperties.Command,
142
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
144
processStartInfo.WorkingDirectory =
Module
.RunProperties.WorkingDirectory;
147
if (
Module
.LaunchSettings is ProjectLaunchProfile)
149
foreach (var entry in
Module
.LaunchSettings.EnvironmentVariables)
155
!string.IsNullOrEmpty(
Module
.LaunchSettings.CommandLineArgs))
157
processStartInfo.Arguments = $"{processStartInfo.Arguments} {
Module
.LaunchSettings.CommandLineArgs}";
167
if (
Module
.DotnetRootArchVariableName is not null)
169
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
185
StringBuilder builder = new(
Module
.RunProperties.Arguments);
392
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
394
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
397
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
399
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
402
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
404
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
407
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
409
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
412
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
414
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
446
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
447
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");