Test sample app in sdk 71

Nov 5, 2011 at 9:56 AM


I wanted to uses zxing in a wp7 app, compiled with the sdk 7.1 (mango). To test the zxingsilverlight, I get your sample app. First I had to download the silverlight for windowsphone toolkit (http://silverlight.codeplex.com/), then set the target windows phone OS Version of the dlls and the sample app to 7.1. I was able to compile the project, but I had an error when running : 

Microsoft.Phone.Controls.ListPicker.ItemCountThreshold' threw an exception. [Line: 34 Position: 33]  LineNumber=34  LinePosition=33

After searching on Google, I found this : http://www.windowsphonegeek.com/forums/windows-phone-development/ListPicker-ItemCountThreshold-is-not-working-in-Aug-2011-Toolkit---

So I opened the mainpage.xaml, and in the sourcecode, removed the ItemCountThreshold="2" on line 34 (definition of the listpicker).

Compiled and running fine now. I now can look how you use your lib :)

Have a good day,