GetProjectGuid() public method

Gets unique project ID.
public GetProjectGuid ( ) : System.Guid
return System.Guid
		public override void CheckPage(TfsClient client)
		{
			base.CheckPage(client);

			var path = TfsPath;

			if (!CheckTfsPathArea(path, AreaName))
				throw new InvalidOperationException($"TFS path '{path}' seems not conforming with area name '{AreaName}'.");

			if (!CheckTfsPathProject(path, ProjectName))
				throw new InvalidOperationException($"TFS path '{path}' seems not conforming with project name '{ProjectName}'.");

			var project = new ProjectDocument(() => client.ReadFile(ProjectFile));

			ProjectUid = project.GetProjectGuid();
		}