Exemple #1
0
 /// <summary>
 /// add blackberry configurations
 /// </summary>
 /// <param name="proj"></param>
 public void AddBlackBerryConfigurations(Project proj)
 {
     try
     {
         ConfigurationManager mgr  = proj.ConfigurationManager;
         Configurations       cfgs = mgr.AddPlatform(BLACKBERRY, "Win32", true);
         AddSummaryString("Added BlackBerry Configuration");
         cfgs = mgr.AddPlatform(BLACKBERRYSIMULATOR, "Win32", true);
         AddSummaryString("Added BlackBerry Simulator Configuration");
     }
     catch (Exception e)
     {
         Debug.WriteLine(e.Message);
     }
 }
Exemple #2
0
 /// <summary>
 /// Add BlackBerry configurations to the project.
 /// </summary>
 /// <param name="proj"> Represents a project in the integrated development environment. </param>
 private void AddBlackBerryConfigurations(Project proj)
 {
     try
     {
         ConfigurationManager mgr  = proj.ConfigurationManager;
         Configurations       cfgs = mgr.AddPlatform(BLACKBERRY, "Win32", true);
         mgr.DeletePlatform("Win32");
         mgr.AddConfigurationRow("Device-Debug", "Debug", true);
         mgr.AddConfigurationRow("Simulator", "Debug", true);
         mgr.DeleteConfigurationRow("Debug");
         mgr.AddConfigurationRow("Device-Release", "Release", true);
         mgr.DeleteConfigurationRow("Release");
     }
     catch (Exception e)
     {
         Debug.WriteLine(e.Message);
     }
 }