23 references to Module
dotnet (23)
Commands\Test\MTP\TestApplication.cs (23)
160
FileName =
Module
.RunProperties.Command,
168
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
170
processStartInfo.WorkingDirectory =
Module
.RunProperties.WorkingDirectory;
173
if (
Module
.LaunchSettings is ProjectLaunchProfile)
175
foreach (var entry in
Module
.LaunchSettings.EnvironmentVariables)
181
!string.IsNullOrEmpty(
Module
.LaunchSettings.CommandLineArgs))
183
processStartInfo.Arguments = $"{processStartInfo.Arguments} {
Module
.LaunchSettings.CommandLineArgs}";
189
foreach (var (name, value) in
Module
.EnvironmentVariables)
194
if (
Module
.DotnetRootArchVariableName is not null)
196
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
212
StringBuilder builder = new(
Module
.RunProperties.Arguments);
556
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
558
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
561
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
563
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
566
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
568
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
571
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
573
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
576
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
578
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
610
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
611
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");