Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Making a newly created project configuration the active one

$
0
0

Hello All,

I've just added a new project configuration (based on an existing one).

                project = _applicationObject.Solution.Projects.Item(1);
                ConfigurationManager configman = project.ConfigurationManager;
                Configuration configuration = configman.ActiveConfiguration;
                cfname = configuration.ConfigurationName;
                cfname = cfname.Replace(source_config_client,destination_config_client);
                configman.AddConfigurationRow(cfname, configuration.ConfigurationName, true);
Now I want to make the newly added configuration the active one, how do I do it?

Viewing all articles
Browse latest Browse all 4410

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>