Пример #1
0
        private ProjectConfig GetProjectConfiguration(string config, string platform)
        {
            ConfigCanonicalName configCanonicalName = new ConfigCanonicalName(config, platform);

            if (this.configurationsList.ContainsKey(configCanonicalName))
            {
                return(this.configurationsList[configCanonicalName]);
            }

            ProjectConfig requestedConfiguration = new WixProjectConfig((WixProjectNode)this.ProjectMgr, config, platform);

            this.configurationsList.Add(configCanonicalName, requestedConfiguration);

            return(requestedConfiguration);
        }
Пример #2
0
        private ProjectConfig GetProjectConfiguration(string config, string platform)
        {
            string fullConfig = config + "|" + platform;

            if (this.configurationsList.ContainsKey(fullConfig))
            {
                return(this.configurationsList[fullConfig]);
            }

            ProjectConfig requestedConfiguration = new WixProjectConfig((WixProjectNode)this.ProjectMgr, config, platform);

            this.configurationsList.Add(fullConfig, requestedConfiguration);

            return(requestedConfiguration);
        }