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