Unhandled managed exception: Invalid IL code in System.Diagnostics.Stopwatch:StartNew ()
Hi, when i run the iOS i get:
Unhandled Exception:
System.InvalidProgramException: Invalid IL code in System.Diagnostics.Stopwatch:StartNew (): method body is empty.
2014-12-10 08:58:15.534 FlappyMonkeyiOS[1329:42286] Unhandled managed exception: Invalid IL code in System.Diagnostics.Stopwatch:StartNew (): method body is empty. (System.InvalidProgramException) at Microsoft.Xna.Framework.Game..ctor () [0x001c5] in /Users/Clancey/Projects/MonoGame/MonoGame.Framework/Game.cs:490 at FlappyMonkey.Game1..ctor () [0x0007d] in c:\Users\alrf\Desktop\FlappyMonkey-master\Shared\Game1.cs:77 at FlappyMonkey.iOS.Program.FinishedLaunching (MonoTouch.UIKit.UIApplication app) [0x00001] in c:\Users\alrf\Desktop\FlappyMonkey-master\FlappyMonkey.iOS\Main.cs:17 at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, IntPtr principal, IntPtr delegate) [0x00005] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:62 at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x00038]
I use SDK V8.1