[Monodroid] Bug? Running second time around fails

David Evans devans at acumensoftware.co.uk
Thu Mar 3 05:44:44 EST 2011


Hooray, the latest hotfix (monodroid9639-hotfix.msi
<http://go-mono.com/monodroid-download/monodroid9639-hotfix.msi> ) seems to
have done the job.
 
From: monodroid-bounces at lists.ximian.com
[mailto:monodroid-bounces at lists.ximian.com] On Behalf Of David Evans
Sent: 02 March 2011 12:46
To: monodroid at lists.ximian.com
Subject: [Monodroid] Bug? Running second time around fails
 
Hi People
 
I'm just starting out with Android / MonoDroid and have followed and run an
example on a device. However I can only do it once. If I try to run it
again, I get the following error.
 
Unhandled exception in button_ok_Click:Task.  See exception for details.
 
---------------------------
System.FormatException: Input string was not in a correct format.
   at System.Number.StringToNumber(String str, NumberStyles options,
NumberBuffer& number, NumberFormatInfo info, Boolean parseDecimal)
   at System.Number.ParseInt32(String s, NumberStyles style,
NumberFormatInfo info)
   at
MonoDroid.PackageList.<>c__DisplayClass4.<GetOldRuntimes>b__3(InstalledPacka
ge p)
   at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at MonoDroid.PackageList.GetOldRuntimes(Int32 current)
   at MonoDroid.PackageList.GetOldRuntimesAndPlatforms(Int32 platform, Int32
current)
   at Novell.MonoDroidVS.DeviceDialog.DeployApplication(Device device,
CancellationToken token)
   at
Novell.MonoDroidVS.DeviceDialog.<>c__DisplayClass4.<button_ok_Click>b__3()
   at System.Threading.Tasks.Task.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
---------------------------
 
MonoDroid does not support running the previous version.  Please ensure your
solution builds before running or debugging it.
 
My stuff:
Visual Studio Professional 2010
Microsoft Visual Studio 2010 Version 10.0.30319.1 RTMRel
MonoDroidVS   1.0.9639
Windows Vista V6 SP2
 
Can anyone shed some light on this please?
 
Regards
David
 
--
David Evans
Acumen Software Limited
 
Tel: 01476 848 123
Web: www.acumensoftware.co.uk
Email: devans at acumensoftware.co.uk <mailto:dcapps at acumensoftware.co.uk> 
 
NOTE: This message may contain privileged/confidential information. If you
are not the intended recipient of this email and its attachments, you must
take no action based upon them, nor must you copy or show them to anyone.
Please contact the sender if you believe you have received this email in
error.
 
Registered Office: 19 St Catherines Rd, Grantham Registered in England &
Wales No: 6537735 VAT Reg No: 930 6929 11
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/mailman/private/monodroid/attachments/20110303/42c54275/attachment-0001.html 


More information about the Monodroid mailing list