public Process ExecuteTfsGetLatest(MessageArgsTfsGettingLatest messageArgs)
        {
            string additionalArgs = String.Concat("/t:GetLatest /p:PathToGet=\"", messageArgs.PathToGet, "\"");
            Process currentProcess = ExecuteMsbuildProject(messageArgs.ProjectPath, messageArgs.IpAddressSettings, additionalArgs);

            return currentProcess;
        }
 private void GetLatest(string tfsProjectPath, string currentTfsUserName, string localPath, IpAddressSettings msBuildLoggerIpSettings)
 {
     Process currentlyExecutedProcess;
     MessageArgsTfsGettingLatest tfsGetLatestArgs = new MessageArgsTfsGettingLatest(Command.TFGL, tfsProjectPath, msBuildLoggerIpSettings, localPath, currentTfsUserName);
     currentlyExecutedProcess = ATACore.CommandLine.CommandLineExecutor.ExecuteTfsGetLatest(tfsGetLatestArgs);
     currentlyExecutedProcess.WaitForExit(Int32.MaxValue);
 }    
예제 #3
0
 public string GenerateTfsGetLatestMessage(string projectPath, string pathToGet, string userName, IpAddressSettings ipAddressSettings)
 {
     MessageArgsTfsGettingLatest messageArgs = new MessageArgsTfsGettingLatest(Command.TFGL, projectPath, ipAddressSettings, pathToGet, userName);
     string result = GenerateCurrentCommandParametersXml(messageArgs);
     return result;
 }