32 references to GetPropertyValue
dotnet-aot (5)
parent\dotnet\Extensions\ProjectInstanceExtensions.cs (5)
13
var projectGuidProperty = projectInstance.
GetPropertyValue
("ProjectGuid");
22
string projectTypeGuid = projectInstance.
GetPropertyValue
("DefaultProjectTypeGuid");
32
return (projectInstance.
GetPropertyValue
("Platforms") ?? "")
40
string foundConfig = projectInstance.
GetPropertyValue
("Configurations") ?? "Debug;Release";
76
return projectInstance.
GetPropertyValue
(propertyName)
Microsoft.Build (10)
BackEnd\Components\ProjectCache\ProjectCacheService.cs (1)
692
_loggingService.LogComment(buildEventContext, MessageImportance.High, "ProjectCacheHitWithOutputs", buildRequest.ProjectInstance!.
GetPropertyValue
(ReservedPropertyNames.projectName));
BackEnd\Components\RequestBuilder\RequestBuilder.cs (1)
1564
FileClassifier.Shared.RegisterKnownImmutableLocations(project.
GetPropertyValue
);
Construction\Solution\SolutionProjectGenerator.cs (2)
1155
string directProjectToolsVersion = traversalProject.
GetPropertyValue
("ProjectToolsVersion");
2143
properties[property.Item1] = EscapingUtilities.Escape(traversalProject.
GetPropertyValue
(property.Item1));
Graph\ProjectInterpretation.cs (6)
208
string targetFrameworksValue = projectInstanceForDiscovery.
GetPropertyValue
(PropertyNames.TargetFrameworks);
227
string targetFrameworkValue = projectInstanceForDiscovery.
GetPropertyValue
(PropertyNames.TargetFramework);
253
return project.
GetPropertyValue
(GetInnerBuildPropertyName(project));
258
return project.
GetPropertyValue
(PropertyNames.InnerBuildProperty);
263
return project.
GetPropertyValue
(project.
GetPropertyValue
(PropertyNames.InnerBuildPropertyValues));
Microsoft.CodeAnalysis.ExternalAccess.HotReload (1)
Api\HotReloadMSBuildWorkspace.ProjectFileInfoProvider.cs (1)
45
getBuildProjects(projectPath).instances.SelectAsArray(static instance => instance.
GetPropertyValue
(PropertyNames.TargetPath)));
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (1)
MSBuild\ProjectFile\ProjectInstance.cs (1)
41
return projectInstance.
GetPropertyValue
(propertyName);
Microsoft.DotNet.HotReload.Watch (8)
Build\ProjectGraphUtilities.cs (8)
23
=> project.
GetPropertyValue
(PropertyNames.TargetFramework);
32
return new FrameworkName(projectNode.ProjectInstance.
GetPropertyValue
(PropertyNames.TargetFrameworkMoniker)).Version;
50
=> IsNetCoreApp(projectNode.ProjectInstance.
GetPropertyValue
(PropertyNames.TargetFrameworkIdentifier));
59
=> project.
GetPropertyValue
(PropertyNames.TargetPath) is { Length: >0 } path ? Path.GetDirectoryName(Path.Combine(project.Directory, NormalizeSeparators(path))) : null;
62
=> project.
GetPropertyValue
(PropertyNames.TargetName);
68
=> project.
GetPropertyValue
(PropertyNames.IntermediateOutputPath) is { Length: >0 } path ? Path.Combine(project.Directory, NormalizeSeparators(path)) : null;
87
=> project.
GetPropertyValue
(propertyName).Split(';', StringSplitOptions.TrimEntries | StringSplitOptions.RemoveEmptyEntries);
93
=> project.
GetPropertyValue
(propertyName) is { Length: >0 } value ? bool.TryParse(value, out var result) && result : defaultValue;
Microsoft.DotNet.ProjectTools (1)
BuildService.cs (1)
115
public ValueTask<string> GetPropertyValueAsync(string propertyName) => new(inner.
GetPropertyValue
(propertyName));
MSBuild (4)
XMake.cs (4)
1397
outputStream.WriteLine(project.
GetPropertyValue
(getProperty[0]));
1402
jsonOutputFormatter.AddPropertiesInJsonFormat(getProperty, property => project.
GetPropertyValue
(property));
1430
outputStream.WriteLine(builtProject.
GetPropertyValue
(getProperty[0]));
1435
jsonOutputFormatter.AddPropertiesInJsonFormat(getProperty, property => builtProject.
GetPropertyValue
(property));
NuGet.Build.Tasks.Console (2)
MSBuildProjectInstance.cs (1)
54
protected override string GetPropertyValue(string name) => _projectInstance.
GetPropertyValue
(name);
TargetFrameworkAdapter.cs (1)
34
var value = _projectInstance.
GetPropertyValue
(propertyName).Trim();