monodevelop

MonoDevelop ARMv6 on Raspberry Pi

Deadly 提交于 2019-11-27 00:06:48
问题 Will MonoDevelop compile to the ARMv6, mainly so I can get it running on my Raspberry Pi? I've noted that Debian can run on the Raspberry Pi and Debian has a set of drivers for Mono. So does this mean we'll be able to develop in Mono? 回答1: The Mono project supports ARM, so one should be able to build and use MonoDevelop on the Raspberry Pi. At least that's what I'm hoping! 2012-05-16 I got my Raspberry Pi yesterday (yay!) and can confirm that it is possible to compile and run .NET code (I

Why is no warning given for this unused variable?

ⅰ亾dé卋堺 提交于 2019-11-26 23:27:17
问题 When compiling the following program in VS2010, VS2008 or MonoDevelop on Windows, I get warning CS0219, "The variable 'y' is assigned but its value is never used". namespace Problem { public class Program { private static void Main(string[] args) { object x = new object(); int y = 0; } } } Why is there no warning for x when compiling in Visual Studio? Interestingly, I do get CS0219 warnings for x and y when compiling in MonoDevelop on Mac OS X. 回答1: It turns out that this warning is

External Terminal / Debug outside the IDE

蹲街弑〆低调 提交于 2019-11-26 17:52:59
问题 I'm starting to use Xamarin Studio, and migrating from VS to it, but when I try to run a console application (the unique one loaded at the moment), fails and throws an exception in Console.Clear() (Supposing I can't do that in an integrated debugger), then i thought that one way to solve it was by compiling it and running it, like Visual Studio does, and Debug the application outside the IDE, but I can't figure out how. Could someone tell me how to solve this problem? Thanks. EDIT: For any

SmtpClient with Gmail

孤者浪人 提交于 2019-11-26 15:47:50
问题 I'm developing a mail client for a school project. I have managed to send e-mails using the SmtpClient in C#. This works perfectly with any server but it doesn't work with Gmail. I believe it's because of Google using TLS. I have tried setting EnableSsl to true on the SmtpClient but this doesn't make a difference. This is the code I am using to create the SmtpClient and send an e-mail. this.client = new SmtpClient("smtp.gmail.com", 587); this.client.EnableSsl = true; this.client

Install Mono and Monodevelop on CentOS 5.x/6.x

不羁岁月 提交于 2019-11-26 13:53:36
问题 I am trying to install Mono and Monodevelop on a CentOS 5.9 environment. I have tried the following instructions, with no luck. http://fealves78.blogspot.co.uk/2012/08/install-mono-and-monodevelop-on-centos.html Can anyone suggest an alternative to the the above link. 回答1: On these systems, I typically install Mono from source. It is a bit more work but you do not have to rely on dated or broken packages that may or may not be maintained. Also, it makes it easy to upgrade to the latest

How make the script wait/sleep in a simple way in unity

送分小仙女□ 提交于 2019-11-26 00:59:54
问题 How can put between the TextUI.text = .... a sleep function, for wait 3 seconds between each phrase? public Text GuessUI; public Text TextUI; [...truncated...] TextUI.text = \"Welcome to Number Wizard!\"; TextUI.text = (\"The highest number you can pick is \" + max); TextUI.text = (\"The lowest number you can pick is \" + min); I already tried various things but didn\'t worked, such this: TextUI.text = \"Welcome to Number Wizard!\"; yield WaitForSeconds (3); TextUI.text = (\"The highest