public void Prepare() { _variableProvider.RegisterValue(Variable.ProjectNameConstantCase, _userInputProvider.Value(Variable.ProjectName).ConstantCase()); var tfs = _tools.GetTool("tfs"); tfs.Execute(new[] { "checkout", "All Projects (Main).sln" }, _pathProvider.GetSolutionDirectory()); foreach (var signFileList in SignFileLists()) { if (File.Exists(signFileList)) { tfs.Execute(new[] { "checkout", signFileList }, _pathProvider.GetBuildStepSignDirectory()); } else { throw new Exception($"Expected file does not exist: {signFileList}"); } } }