21 references to GetPropertyValue
dotnet (1)
Extensions\ProjectExtensions.cs (1)
42
return project.
GetPropertyValue
(propertyName)
Microsoft.Build (3)
Construction\Solution\SolutionProjectGenerator.cs (1)
2241
string referencedWebProjectGuid = msbuildProject.
GetPropertyValue
("SourceWebProject");
Instance\ImmutableProjectCollections\ImmutableProjectPropertyCollectionConverter.cs (1)
47
unescapedValue = _linkedProject.
GetPropertyValue
(key);
ObjectModelRemoting\DefinitionObjectsLinks\ProjectLink.cs (1)
167
/// Facilitate remoting the <see cref="Project.
GetPropertyValue
"/>.
Microsoft.CodeAnalysis.Workspaces.MSBuild.BuildHost (3)
Build\ProjectBuildManager.cs (3)
191
return project?.
GetPropertyValue
(PropertyNames.TargetPath);
212
var targetFrameworkValue = project.
GetPropertyValue
(PropertyNames.TargetFramework);
213
var targetFrameworksValue = project.
GetPropertyValue
(PropertyNames.TargetFrameworks);
MSBuild (2)
XMake.cs (2)
1130
outputStream.WriteLine(project.
GetPropertyValue
(getProperty[0]));
1135
jsonOutputFormatter.AddPropertiesInJsonFormat(getProperty, property => project.
GetPropertyValue
(property));
NuGet.CommandLine.XPlat (12)
Commands\PackageReferenceCommands\ListPackage\ListPackageCommandRunner.cs (2)
98
var projectName = project.
GetPropertyValue
(ProjectName);
108
var assetsPath = project.
GetPropertyValue
(ProjectAssetsFile);
Commands\Why\WhyCommandRunner.cs (3)
114
string usingNetSdk = project.
GetPropertyValue
("UsingMicrosoftNETSdk");
127
string? assetsFilePath = project.
GetPropertyValue
(ProjectAssetsFile);
146
project.
GetPropertyValue
("MSBuildProjectName")));
Utility\MSBuildAPIUtility.cs (7)
89
project.
GetPropertyValue
("ManagePackageVersionsCentrally"),
204
string directoryPackagesPropsPath = project.
GetPropertyValue
(DirectoryPackagesPropsPathPropertyName);
433
string directoryPackagesPropsPath = project.
GetPropertyValue
(DirectoryPackagesPropsPathPropertyName);
481
Logger.LogInformation(string.Format(CultureInfo.CurrentCulture, Strings.Info_AddPkgCPM, libraryDependency.Name, itemGroup.ContainingProject.FullPath, project.
GetPropertyValue
(DirectoryPackagesPropsPathPropertyName)));
710
return (project.
GetPropertyValue
(RESTORE_STYLE_TAG) == "PackageReference" ||
712
project.
GetPropertyValue
(NUGET_STYLE_TAG) == "PackageReference" ||
713
project.
GetPropertyValue
(ASSETS_FILE_PATH_TAG) != "");