Esempio n. 1
0
 public void SaveTo(MsBuildConfiguration[] configs)
 {
     foreach (var cfg in configs)
     {
         if (StartActionQ != null)
         {
             cfg.SetConfigurationProperty("StartAction", StartActionQToString(StartActionQ));
         }
         if (ExternalProgram != null)
         {
             cfg.SetConfigurationProperty("StartProgram", ExternalProgram.ToString());
         }
         if (CommandLineArgs != null)
         {
             cfg.SetConfigurationProperty("StartArguments", CommandLineArgs.ToString());
         }
         if (WorkingDir != null)
         {
             cfg.SetConfigurationProperty("StartWorkingDirectory", WorkingDir.ToString());
         }
         if (DebuggerScript != null)
         {
             cfg.SetConfigurationProperty("StartDebuggerScript", DebuggerScript.ToString());
         }
     }
 }