Please post the exact error code from VS2010. I don't know of any errors resembling "out of date".

Also, you should surround your code with [code][/code] tags so that it is easier to read.