Пример #1
0
        void UpdateBuildConfiguration()
        {
            var currentConfig = GetActiveConfiguration();

            if (currentConfig == null)
            {
                return;
            }

            ExecutionTarget newTarget;
            string          fullConfig;

            configurationMerger.ResolveConfiguration(currentConfig, GetActiveTarget(), out fullConfig, out newTarget);
            settingGlobalConfig = true;
            try {
                IdeApp.Workspace.ActiveExecutionTarget = newTarget;
                IdeApp.Workspace.ActiveConfigurationId = fullConfig;
            } finally {
                settingGlobalConfig = false;
            }
        }
Пример #2
0
        void NotifyConfigurationChange()
        {
            var currentConfig = GetActiveConfiguration();

            if (currentConfig == null)
            {
                return;
            }

            string          fullConfig;
            ExecutionTarget newTarget;

            configurationMerger.ResolveConfiguration(currentConfig, GetActiveTarget(), out fullConfig, out newTarget);

            settingGlobalConfig = true;
            try {
                IdeApp.Workspace.ActiveExecutionTarget = newTarget;
                IdeApp.Workspace.ActiveConfigurationId = fullConfig;
            } finally {
                settingGlobalConfig = false;
            }
            FillRuntimes();
            SelectActiveRuntime();
        }