如何在IDE中获取Xamarin Studio C#输出? [英] How to get Xamarin Studio C# output within the IDE?
问题描述
我最近开始在Mac上试用Xamarin和Mono C#。我习惯使用Visual Studio在Windows上工作,因此每次运行我的控制台应用程序,新的终端窗口和单色编译器终端时,我都会发现它很麻烦。我必须手动关闭它们。无论如何从IDE 里面的窗口或窗格获取程序的输出?或者无论如何设置它只显示一个终端窗口?
I recently started experimenting with Xamarin and Mono C# on my Mac. I am used to working on Windows with Visual Studio so I find it cumbersome when every time I run my console application, a new terminal window and mono compiler terminal open up. And I have to manually close them. Is there anyway to get the output of my programs from a window or pane inside the IDE ? Or is there anyway to set it up so only one terminal window shows up ?
推荐答案
如果您打开项目选项,则<<>在外部控制台上运行复选框运行 - 常规类别,用于控制此行为。如果在运行控制台应用程序时取消选中此选项,则输出将显示在Xamarin Studio内的应用程序输出窗口中,并且不会打开外部控制台窗口。
If you open the Project Options there is a Run on external console check box in the Run - General category which controls this behaviour. If you uncheck this option when you run a console application the output will be shown in an Application Output window inside Xamarin Studio and no external console window will be opened.
这篇关于如何在IDE中获取Xamarin Studio C#输出?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!