It was released in 2009, which puts development across roughly 2008 into 2009.
That fits the studio's rhythm at the time — Sonic titles on the Wii were typically in production for about a year and a half, and Black Knight followed closely on the heels of Sonic and the Secret Rings.