I know that the Air Force began publicly working on the predecessor (X-40) in 1998 (between the Challenger '86 and Columbia '03 disasters). Presumably they were working secretly even earlier. Also, the X-37's first orbital flight was in 2010 and the shuttle's retirement was in 2011. But that's all I know, and mine is uninformed speculation. Apologies if I expressed too much confidence.