static string GetUrl(CruiseServerClientBase serverRemotingClient, string taskName) { var xmlName = serverRemotingClient.GetLatestBuildName(taskName); return(string.Format("http://ccnet.devexpress.devx/ccnet/server/farm/project/{0}/build/{1}/ViewBuildReport.aspx", taskName.Replace(" ", "%20"), xmlName)); }