[mono-android] Running devices list not updated when debugging in Visual Studio 2010

Wally McClure theevilprogrammer at hotmail.com
Wed Jun 6 13:48:07 UTC 2012


I should have added what I found helps as well.  Apologies. From a cold boot, I find that if I start an emulator session in MonoDevelop, then switch over to VS, that VS will see all emulator sessions from that point forward.  Yeah, its a complete guess as to what works properly all the time.  
YMMV. Wally Date: Wed, 6 Jun 2012 09:46:31 +0200
From: mcvjetko at holisticware.net
To: monodroid at lists.ximian.com; ash at microsec.co.uk
CC: theevilprogrammer at hotmail.com
Subject: Re: [mono-android] Running devices list not updated when debugging in Visual Studio 2010


  
    
  
  
    Just to add workaround

    

    Restarting VS help (at least in my case)

    

    cheers

    

    mel

    On 2012.06.06 04:14, Wally McClure wrote:
    
      
      
        Deployment from the VS eval version through to the emulator
        seems to be problematic in 4.2.2.  I have filed a bug on this. 
        It seems to be a known issue that they are working on.  I have
        found that deployment seems to always work in MonoDevelop.

        

        Wally

        

        > Date: Wed, 30 May 2012 07:07:07 -0700

          > From: ash at microsec.co.uk

          > To: monodroid at lists.ximian.com

          > Subject: Re: [mono-android] Running devices list not
          updated when debugging in Visual Studio 2010

          > 

          > If I compare this Visual Studio problem with trying to
          debug using

          > MonoDevelop, in MonoDevelop, the "Select Device" list
          shows all AVD images

          > greyed out until one is running, then I can select it.
          The MonoDevelop

          > "Deploy To Device" output then shows:

          > 

          > 

          > 

          > > Detecting shared runtime location

          > > Detecting package list location

          > > Getting package list from device

          > > Installing shared runtime package on device

          > > pkg:
          /data/local/tmp/Mono.Android.DebugRuntime-debug.apk

          > > Success

          > > 259 KB/s (28078095 bytes in 105.604s)

          > > 

          > > Installing the platform framework

          > > pkg: /data/local/tmp/Mono.Android.Platform.apk

          > > Success

          > > 78 KB/s (15882897 bytes in 196.497s)

          > > 

          > > Installing 'ActivityStates.ActivityStates-Signed'

          > > pkg:
          /data/local/tmp/ActivityStates.ActivityStates-Signed.apk

          > > Success

          > > 83 KB/s (71874 bytes in 0.844s)

          > > 

          > > Installing assemblies

          > > 86.82% complete

          > > 100.00% complete

          > > Upload complete

          > > 

          > 

          > Then the MonoDevelop "Application Output" shows:

          > 

          > 

          > 

          > > Setting debug property

          > > Forwarding debugger port 8879

          > > Forwarding console port 8880

          > > Starting: Intent { act=android.intent.action.MAIN

          > >
          cmp=ActivityStates.ActivityStates/activitystates.MainActivity
          }

          > > E/mono ( 639): WARNING: The runtime version
          supported by this

          > > application is unavailable.

          > > E/mono ( 639): Using default runtime: v2.0.50727

          > > I/monodroid-gc( 639): environment supports jni
          NewWeakGlobalRef

          > > W/monodroid-gc( 639): GREF GC Threshold: 1800

          > > Loaded assembly:

          > >
/data/data/ActivityStates.ActivityStates/files/.__override__/ActivityStates.dll

          > > Loaded assembly: Mono.Android.dll [External]

          > > Loaded assembly: System.Core.dll [External]

          > > Loaded assembly: MonoDroidConstructors [External]

          > > D/gralloc_goldfish( 639): Emulator without GPU
          emulation detected.

          > > 

          > 

          > Then I can test my application using MonoDevelop.

          > 

          > --

          > View this message in context:
http://mono-for-android.1047100.n5.nabble.com/Running-devices-list-not-updated-when-debugging-in-Visual-Studio-2010-tp5710100p5710101.html

          > Sent from the Mono for Android mailing list archive at
          Nabble.com.

          > _______________________________________________

          > Monodroid mailing list

          > Monodroid at lists.ximian.com

          > 

          > UNSUBSCRIBE INFORMATION:

          > http://lists.ximian.com/mailman/listinfo/monodroid

        
      
      

      
      

      _______________________________________________
Monodroid mailing list
Monodroid at lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

    
    

    

    -- 
Miljenko Cvjetko dipl.ing. ET
	Direktor/CEO
	Projektant rješenja/Solution Architect	
	Razvojni programer/Senior developer
	Voditelj projekta/Project Manager

IX južna obala 13
Kajzerica Zagreb
T: 385 1 7775555
M: 385 91 557 447 3
F: 385 1 7779556
e: mcvjetko at holisticware.net
w: http://www.holisticware.net 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monodroid/attachments/20120606/5228b5ed/attachment.html>


More information about the Monodroid mailing list