Exemplo n.º 1
0
        public void Register()
        {
            _tools.RegisterTool("dotnet", "dotnet.exe");

            _userInputProvider.RegisterVariablesFromTemplate(Template.VariableDeclarations);

            _tools.VerifyTools();
            _userInputProvider[TargetFramework].VariableSelectionValues.AddRange(_targetFrameworkProvider.GetSelection());
        }
Exemplo n.º 2
0
        public void Register()
        {
            _tools.RegisterTool("tfs", "tf.exe");

            _userInputProvider.RegisterVariablesFromTemplate(VariableDeclarations);

            _userInputProvider[Variable.Branch].VariableSelectionValues.AddRange(_tfsPaths.Branches());

            _variableProvider.RegisterValue(Variable.ProjectGuid, _projectInformation.ProjectGuid);
        }
        public void Register()
        {
            _tools.RegisterTool("tfs", "tf.exe", _pathProvider.GetVisualStudioToolDirectory());

            _userInputProvider.RegisterVariablesFromTemplate(Template.VariableDeclarations);

            _userInputProvider[Variable.Branch].VariableSelectionValues.AddRange(_pathProvider.GetBranches());

            _variableProvider.RegisterValue(TfsProjectRoot, _pathProvider.GetTfsProjectRoot());

            _projectGuid = Guid.NewGuid();
            _variableProvider.RegisterValue(Variable.ProjectGuid, _projectGuid.ToString() !);
            _variableProvider.RegisterValue(Variable.PropertyFilterGuid, CreateGuid());
            _variableProvider.RegisterValue(Variable.SourceFilterGuid, CreateGuid());
            _variableProvider.RegisterValue(Variable.ResourceFilterGuid, CreateGuid());
            _variableProvider.RegisterValue(Variable.IncludeFilterGuid, CreateGuid());
        }
Exemplo n.º 4
0
 public void Register()
 {
     _userInputProvider.RegisterVariablesFromTemplate(VariableDeclarations);
 }