Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 01 Feb 2011
Offline Last Active Feb 14 2011 06:51 PM

Topics I've Started

Need Help with Error

14 February 2011 - 08:46 AM

Oh, man, this is annoying. Concerning chapter 3 PerformanceBenchmark solution, it seems like my ElapsedRealTime property doesn't exist at all in my MSDN Library (tried f12'ing the definition, and even on the solution file recorded on the cd, and doesn't come up with anything)

Here is the error:

"Error 1 'Microsoft.Xna.Framework.GameTime' does not contain a definition for 'ElapsedRealTime' and no extension method 'ElapsedRealTime' accepting a first argument of type 'Microsoft.Xna.Framework.GameTime' could be found (are you missing a using directive or an assembly reference?)"

I hope this doesn't sound too much like a noob-ish question, but can I get any help as to why this is happening? I can't compile without butchering what little code I did add