protected internal virtual void SetCurrentConfiguration()
{
if (BuildInProgress)
{
// we are building so this should already be the current configuration
return;
}
// Can't ask for the active config until the project is opened, so do nothing in that scenario
if (!HasProjectOpened)
return;
var automationObject = GetAutomationObject() as EnvDTE.Project;
SetConfiguration(Utilities.GetActiveConfigurationName(automationObject));
}