This repository was archived by the owner on Feb 12, 2019. It is now read-only.

Description
I am trying to retrieve build by it Id using the below code:
...
var client = new TeamCityClient(teamCityUrl);
client.Connect(user, password);
var compatibleBuilds = client.Builds.ByBuildLocator(BuildLocator.WithId(buildId));
...
It generates the following bad URL:
http://tc1:8080/httpAuth/app/rest/builds?locator=id:23121
Error has occurred during request processing (Bad Request).
Error: jetbrains.buildServer.server.rest.errors.LocatorProcessException: Locator dimension [id] is ignored or unknown.
Invalid request. Check locator is specified correctly.