Пример #1
0
 public MoveProjectTask(Configuration configuration)
 {
     _configuration = configuration;
     _addProjectTask = new AddProjectTask();
     _removeProjectTask = new RemoveProjectTask();
     _moveDirectoryTask = new MoveDirectoryTask();
 }
Пример #2
0
        public override void RunStarted(object application, System.Collections.Generic.Dictionary<string, string> replacementsDictionary, Microsoft.VisualStudio.TemplateWizard.WizardRunKind runKind, object[] customParams)
        {
            base.RunStarted(application, replacementsDictionary, runKind, customParams);

            Configuration = new Configuration(application as _DTE, runKind, replacementsDictionary);
            Solution = new ArcSolution(Configuration);

            OnStart();
        }
Пример #3
0
 public static void Configure(Configuration configuration)
 {
     try
     {
         InnerLogger = new FileLogger(configuration.RootPath);
         WriteLine("Logging to " + configuration.RootPath);
     }
     catch (Exception e)
     {
         InnerLogger = new MessageBoxLogger();
         WriteLine("Logger configuration was unsuccessful: " + e.Message);
     }
 }
Пример #4
0
 public ArcSolution(Configuration configuration)
 {
     _configuration = configuration;
 }
 public GenerateCommonAssemblyInfoTask(Configuration configuration)
     : this(configuration.RootPath + "\\Tools\\NAnt\\bin\\", 
     configuration.RootPath + "\\Configuration\\Build\\Default.build",
     configuration.RootPath)
 {
 }