22 references to Module
dotnet (22)
Commands\Test\MTP\TestApplication.cs (22)
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}";
193
if (
Module
.DotnetRootArchVariableName is not null)
195
processStartInfo.Environment[
Module
.DotnetRootArchVariableName] = Path.GetDirectoryName(new Muxer().MuxerPath);
211
StringBuilder builder = new(
Module
.RunProperties.Arguments);
541
if (!string.IsNullOrEmpty(
Module
.RunProperties.Command))
543
builder.Append($"{ProjectProperties.RunCommand}: {
Module
.RunProperties.Command}");
546
if (!string.IsNullOrEmpty(
Module
.RunProperties.Arguments))
548
builder.Append($"{ProjectProperties.RunArguments}: {
Module
.RunProperties.Arguments}");
551
if (!string.IsNullOrEmpty(
Module
.RunProperties.WorkingDirectory))
553
builder.Append($"{ProjectProperties.RunWorkingDirectory}: {
Module
.RunProperties.WorkingDirectory}");
556
if (!string.IsNullOrEmpty(
Module
.ProjectFullPath))
558
builder.Append($"{ProjectProperties.ProjectFullPath}: {
Module
.ProjectFullPath}");
561
if (!string.IsNullOrEmpty(
Module
.TargetFramework))
563
builder.Append($"{ProjectProperties.TargetFramework} : {
Module
.TargetFramework}");
595
messageBuilder.AppendLine($"RunCommand: {
Module
.RunProperties.Command}");
596
messageBuilder.AppendLine($"RunArguments: {
Module
.RunProperties.Arguments}");