Missing Coded UI References cannot be found in VB 2012

The coded UI Testing Tool references could not be found by my build which I have created in Visual Studio 2012. It built fine without any problem when I built the same solution from Visual Studio 2010. Someone told me I have to upgrade the Build agent machine to Visual Studio 2012 but I am hesitating to perform this. Is there any thing else I can do to resolve this?Â
