public void SetProperty <T>(string propertyName, T value, bool treatPropertyValueAsLiteral, PropertyStorageLocations location) { project.SetProperty(configuration, platform, propertyName, GenericConverter.ToString(value), location, treatPropertyValueAsLiteral); }
public bool Save(MSBuildBasedProject project, string configuration, string platform) { string newValue = GenericConverter.ToString(val); project.SetProperty(configuration, platform, propertyName, newValue, location, treatPropertyValueAsLiteral); return(true); }
/// <summary> /// Sets the value of the specified meta data item. The value is escaped before /// setting it to ensure characters like ';' or '$' are not interpreted by MSBuild. /// </summary> public void SetEvaluatedMetadata <T>(string metadataName, T value) { SetEvaluatedMetadata(metadataName, GenericConverter.ToString(value)); }