public virtual string GetConfigurationProperty(string propertyName, bool resetCache) { MSBuildExecution.ProjectPropertyInstance property = GetMsBuildProperty(propertyName, resetCache); if (property == null) { return(null); } return(property.EvaluatedValue); }
public BuildRequestData(string projectFullPath, IDictionary <string, string> globalProperties, string toolsVersion, string[] targetsToBuild, HostServices hostServices, BuildRequestDataFlags flags) : this(targetsToBuild, hostServices, flags) { ErrorUtilities.VerifyThrowArgumentLength(projectFullPath, nameof(projectFullPath)); ErrorUtilities.VerifyThrowArgumentNull(globalProperties, nameof(globalProperties)); ProjectFullPath = FileUtilities.NormalizePath(projectFullPath); GlobalPropertiesDictionary = new PropertyDictionary <ProjectPropertyInstance>(globalProperties.Count); foreach (KeyValuePair <string, string> propertyPair in globalProperties) { GlobalPropertiesDictionary.Set(ProjectPropertyInstance.Create(propertyPair.Key, propertyPair.Value)); } ExplicitlySpecifiedToolsVersion = toolsVersion; }
public static string GetPropertyValueEscaped(ProjectPropertyInstance property) { // WTF happens here. //return ProjectCollection.Escape (property.EvaluatedValue); return(property.EvaluatedValue); }
public static string GetPropertyValueEscaped (ProjectPropertyInstance property) { throw new NotImplementedException (); }
public static string GetPropertyValueEscaped(ProjectPropertyInstance property) { throw new NotImplementedException(); }