WriteLine for Mobile Device

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • bwilde@gmail.com

    #1

    WriteLine for Mobile Device

    Hello,

    I'm just starting to play around with programming using c# for a WM6
    mobile device using VS2008 (B2). I created a new c# project for the
    mobile device, and have been able to get some basic UI together and
    set up handlers on the back end. In the process of doing slightly
    more complex things, I'd like to be able to print out text to a
    console window while the app is running.

    I have tried Console.WriteLi ne("text");, but it doesn't seem to be
    doing anything. My guess is that either 'Console' is not the right
    place to be writing when developing for a mobile device, or that it is
    outputting text somewhere but I'm not looking in the right place (I
    looked in all of the tabs in the bottom right corner of VS but didn't
    see my output).

    This is a really dumb problem, but it's gotten quite frustrating, and
    I would love some help.

    Thanks,
    Ben

  • UL-Tomten

    #2
    Re: WriteLine for Mobile Device


    On Aug 21, 8:59 pm, bwi...@gmail.co m wrote:
    print out text to a console window while the app is running.
    I have tried Console.WriteLi ne("text");
    How to trace and debug in Visual C#


    Comment

    • Ignacio Machin \( .NET/ C# MVP \)

      #3
      Re: WriteLine for Mobile Device

      Hi,

      Take a look at log4net.

      Additionally go to opennetcf.org and see the library provided there.

      <bwilde@gmail.c omwrote in message
      news:1187722768 .434070.182650@ i38g2000prf.goo glegroups.com.. .
      Hello,
      >
      I'm just starting to play around with programming using c# for a WM6
      mobile device using VS2008 (B2). I created a new c# project for the
      mobile device, and have been able to get some basic UI together and
      set up handlers on the back end. In the process of doing slightly
      more complex things, I'd like to be able to print out text to a
      console window while the app is running.
      >
      I have tried Console.WriteLi ne("text");, but it doesn't seem to be
      doing anything. My guess is that either 'Console' is not the right
      place to be writing when developing for a mobile device, or that it is
      outputting text somewhere but I'm not looking in the right place (I
      looked in all of the tabs in the bottom right corner of VS but didn't
      see my output).
      >
      This is a really dumb problem, but it's gotten quite frustrating, and
      I would love some help.
      >
      Thanks,
      Ben
      >

      Comment

      Working...