Console in Xamarin

10,456

Solution 1

If you are using Visual studio, go to the menu options and the choose:

Debug --> Windows --> Output.

Then make sure the window is set to 'show Output from: Debug'

If you are using Xamarin studio, first of all enable the Application Output window:

View -> Pads -> Application Output

Solution 2

Right click (on project) -> Options -> Run -> General

  1. Run on external console (if checked, will open terminal, otherwise outputs to Application Output window)
  2. Pause console output (if checked, will require a keypress to continue)
Share:
10,456
Dinosaur
Author by

Dinosaur

Updated on June 09, 2022

Comments

  • Dinosaur
    Dinosaur about 2 years

    Background: I was working on a C# project. In the past, when I did

    System.Console.WriteLine("Hello");

    I would get see a pop-up Console printing "Hello". The console disappeared today, what can I do to make it appear again?

    Many thanks for your help!

  • Dinosaur
    Dinosaur over 9 years
    Thank you, IdoT, I'm using Xamarin on my mac.
  • Dinosaur
    Dinosaur over 9 years
    Thanks, again. Didn't see the "Hello World" message even though I looked into Application Output. Any hints?
  • IdoT
    IdoT over 9 years
    It is probably printed in the terminal. check this link: stackoverflow.com/a/28602909/2452682
  • Dinosaur
    Dinosaur over 9 years
    Thank you, SKall, I tried this but the console still didn't show. Guess it's a bug.
  • greenoldman
    greenoldman over 8 years
    I can confirm that for Windows+XS 5.10 it works, thank you SKall.