SLARToolKitWinPhoneSample keep running in to MissingMethodException

Aug 17, 2011 at 9:45 PM

After I load the SLARTooplKitWinPhoneSample I keep running into exception: Method not found: PreviewResolution osoft.Phone, Version=, Culture=neutral, PublicKeyToken=24EEC0D8C86CDA1E.Microsoft.Devices.Camera..  I have installed Windows Phone 7.1(beta 2) sdk.. I dont understand why the Method is not found because when I look through the Microsoft.Devices.Camera reference assembly I see the method there. Any help would be much appreciated!




Aug 17, 2011 at 10:23 PM

Make sure the version on your device matches the version the sample was built against.

Seems like you're running on an older build. The PreviewResolution was added in the beta 2 (actually PreviewBufferResolution was renamed to PreviewResolution). The source code is built against beta 2.


 - Rene Schulte

Aug 19, 2011 at 4:48 PM

Thanks alot! I used windows phone sdk beta with changeset 65838 and it worked like a charm! =)