public virtual void SetConfigurationProperty(string propertyName, string propertyValue)
{
if (!ProjectMgr.QueryEditProjectFile(false))
{
throw Marshal.GetExceptionForHR(VSConstants.OLE_E_PROMPTSAVECANCELLED);
}
var condition = string.Format(CultureInfo.InvariantCulture, ConfigProvider.configString, ConfigName);
SetPropertyUnderCondition(propertyName, propertyValue, condition);
// property cache will need to be updated
currentConfig = null;
// Signal the output groups that something is changed
foreach (var group in OutputGroups)
{
group.InvalidateGroup();
}
ProjectMgr.SetProjectFileDirty(true);
}