32 references to ProjectProperties
dotnet (32)
Commands\Test\MTP\MSBuildHandler.cs (6)
92logMessageBuilder.AppendLine($"{ProjectProperties.ProjectFullPath}: {module.ProjectFullPath}"); 93logMessageBuilder.AppendLine($"{ProjectProperties.IsTestingPlatformApplication}: {module.IsTestingPlatformApplication}"); 94logMessageBuilder.AppendLine($"{ProjectProperties.TargetFramework}: {module.TargetFramework}"); 95logMessageBuilder.AppendLine($"{ProjectProperties.RunCommand}: {module.RunProperties.Command}"); 96logMessageBuilder.AppendLine($"{ProjectProperties.RunArguments}: {module.RunProperties.Arguments}"); 97logMessageBuilder.AppendLine($"{ProjectProperties.RunWorkingDirectory}: {module.RunProperties.WorkingDirectory}");
Commands\Test\MTP\SolutionAndProjectUtility.cs (21)
188globalProperties.Add(ProjectProperties.TargetFramework, tfm); 193globalProperties.Add(ProjectProperties.Configuration, configuration); 198globalProperties.Add(ProjectProperties.Platform, platform); 232var targetFramework = projectInstance.GetPropertyValue(ProjectProperties.TargetFramework); 233var targetFrameworks = projectInstance.GetPropertyValue(ProjectProperties.TargetFrameworks); 235Logger.LogTrace($"Loaded project '{Path.GetFileName(projectFilePath)}' with TargetFramework '{targetFramework}', TargetFrameworks '{targetFrameworks}', IsTestProject '{projectInstance.GetPropertyValue(ProjectProperties.IsTestProject)}', and '{ProjectProperties.IsTestingPlatformApplication}' is '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}'."); 246if (!bool.TryParse(projectInstance.GetPropertyValue(ProjectProperties.TestTfmsInParallel), out bool testTfmsInParallel) && 247!bool.TryParse(projectInstance.GetPropertyValue(ProjectProperties.BuildInParallel), out testTfmsInParallel)) 265Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}')."); 279Logger.LogTrace($"Loaded inner project '{Path.GetFileName(projectFilePath)}' has '{ProjectProperties.IsTestingPlatformApplication}' = '{projectInstance.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication)}' (TFM: '{framework}')."); 300_ = bool.TryParse(project.GetPropertyValue(ProjectProperties.IsTestProject), out bool isTestProject); 301_ = bool.TryParse(project.GetPropertyValue(ProjectProperties.IsTestingPlatformApplication), out bool isTestingPlatformApplication); 308string targetFramework = project.GetPropertyValue(ProjectProperties.TargetFramework); 309string projectFullPath = project.GetPropertyValue(ProjectProperties.ProjectFullPath); 336project.GetPropertyValue(ProjectProperties.TargetPath), 342var launchSettings = TryGetLaunchProfileSettings(Path.GetDirectoryName(projectFullPath)!, Path.GetFileNameWithoutExtension(projectFullPath), project.GetPropertyValue(ProjectProperties.AppDesignerFolder), buildOptions, profileName: null); 354return new TestModule(runProperties, PathUtility.FixFilePath(projectFullPath), targetFramework, isTestingPlatformApplication, launchSettings, project.GetPropertyValue(ProjectProperties.TargetPath), rootVariableName);
Commands\Test\MTP\TestApplication.cs (5)
375builder.Append($"{ProjectProperties.RunCommand}: {Module.RunProperties.Command}"); 380builder.Append($"{ProjectProperties.RunArguments}: {Module.RunProperties.Arguments}"); 385builder.Append($"{ProjectProperties.RunWorkingDirectory}: {Module.RunProperties.WorkingDirectory}"); 390builder.Append($"{ProjectProperties.ProjectFullPath}: {Module.ProjectFullPath}"); 395builder.Append($"{ProjectProperties.TargetFramework} : {Module.TargetFramework}");