monodevelop

MonoDevelop - Arabic and other Unicode in code editor

时光总嘲笑我的痴心妄想 提交于 2019-12-13 03:36:47
问题 When I paste in some upper unicode, or even ansi like العربية I get gibberish in MonoDevelop. I am using the MonoTouch framework. Any idea how to get it to allow me to paste in Arabic, Chinese etc.... ian 回答1: Switch the default to Arial or tahoma, these are Unicode. 来源: https://stackoverflow.com/questions/2039332/monodevelop-arabic-and-other-unicode-in-code-editor

RestSharp in Mono project (MonoDevelop)

别等时光非礼了梦想. 提交于 2019-12-13 02:36:17
问题 I'm doing some Mono project (Mono 2.10.8) and trying to use RestSharp. As I saw on RestSharp page it support Mono. I'm trying to run following simple code : var client = new RestClient("http://www.go2board.com"); var request = new RestRequest(); var result = client.Execute(request); But everytime when I choose Mono 2.10.8 runtime in MonoDevelop IDE I'm getting following error {System.Net.WebException: The request timed out at System.Net.HttpWebRequest.EndGetResponse (IAsyncResult asyncResult)

TreeView: Column suddenly grey

青春壹個敷衍的年華 提交于 2019-12-13 00:03:49
问题 With 2 columns, everything works correct, all the background in the TreeView is white. But as soon as I add a third column (all three are default CellRendererText), the rows in the first one suddenly have a light grey background. To show what I mean, I have uploaded a picture: As you can see at the red arrow , the background in the first column is grey. I have NOT set this anywhere, so why does it do that? It looks really ugly. As you can see at the blue arrow , I have set the background

GTK# window not rendered completely

六眼飞鱼酱① 提交于 2019-12-12 22:04:03
问题 Right now, I am trying to develop a program using Mono and GTK# on a Debian (Raspbian) system. The issue I'm facing is, that, completely randomly, the GUI (generated by the Stetic designer or its dynamic elements) isn't completely drawn, missing either a few characters from a Label-element or whole widgets, mostly those that were dynamically created. This is how it looks on a dialog window: http://imgur.com/oEZRg7c (text is cut off) As soon as one window shows this issue, every other window

How to print plain text using Monodevelop and C#?

前提是你 提交于 2019-12-12 19:14:55
问题 I have some text displayed in a TextView which I want to print. I've been googling for 2 whole hours now. If anyone could help me out with this, you'd really make my day. Thanks! 回答1: Here's a very simple example (tested on a Windows machine): PrintDocument doc = new PrintDocument(); var printFont = new Font("Arial", 10); doc.PrintPage += (s, ev) => { ev.Graphics.DrawString("Your text goes here", printFont, Brushes.Black, ev.MarginBounds.Left, ev.MarginBounds.Top); HasMorePages = false; };

Is it possible to build MonoDevelop 3 on Mac OSX 10.5.8 (Leopard)?

人走茶凉 提交于 2019-12-12 18:31:51
问题 A while ago I had downloaded MonoDevelop 3 for Mac, only to find out that it doesn't run on version 10.5.8 (Leopard). Later I found a terse statement on some obscure website (which I can't find now). I can't find anything on the MonoDevelop website about minimum system requirements for MD version 3.XX on a Mac. Is it possible then to build MD 3 to run on my Mac Leopard machine, or am I stuck having to upgrade to Snow Leopard? Or, is there a dependency which requires a minimum version of Xcode

Can't use .NET's JavaScriptSerializer in Unity and MonoDevelop on MacOS

一笑奈何 提交于 2019-12-12 18:30:48
问题 I'm trying to use .NET's System.Web.Script.Serialization.JavaScriptSerializer to read a JSON file into a Dictionary in Unity with MonoDevelop on MacOS. So far I've added the System.Web.Extensions assembly to MonoDevelop which makes it build the "Assembly-CSharp" project fine. But when I go back to Unity, it still shows the error: error CS0234: The type or namespace name `Web' does not exist in the namespace `System'. Are you missing an assembly reference? Then I read on the web that adding

Unity3D connection to MySQL error

三世轮回 提交于 2019-12-12 18:18:44
问题 I'm trying to get Unity client to establish connection to MySQL server purely for reads. I get an error when the connection is being made. My Code: using UnityEngine; using System; using System.Data; using System.Text; using System.Collections; using System.Collections.Generic; using System.Security.Cryptography; using MySql.Data; using MySql.Data.MySqlClient; public class DatabaseHandler : MonoBehaviour { public string host, database, user, password; public bool pooling = true; private

MonoTouch - missing header files when editing xib [duplicate]

时间秒杀一切 提交于 2019-12-12 16:17:00
问题 This question already has answers here : Missing h-files and Assistant Editor not working because of it (monoTouch/MonoDevelop) (3 answers) Closed 6 years ago . I am on Mac OSX Lion 10.7.0 with Xcode 4.2 for IOS 5 and Xamarin's MonoTouch. ("Cross platform mobile development tools that allow you to use C# and .NET to create apps for iOS and Android") and on VMWare 8.0.0 on Ubuntu 11.10. I am testing MonoTouch and when I follow this tutorial then at one step, I have to do my xib file with xcode

Get C/C++ project support back with MonoDevelop 4.0 a.k.a. Xamarin Studio

依然范特西╮ 提交于 2019-12-12 15:39:34
问题 With the latest Xamarin Studio (relabeled from MonoDevelop 4.0), I cannot open .cproj projects anymore that worked in MonoDevelop 3.0.4.7. The feature list says it's not supported on Windows but it also says "Page last modified 09:53, 27 Oct 2010"… Is there a way to re-add the language binding? Do I need to recompile myself? Maybe there is a mirror of old MonoDevelop binaries for Windows? 回答1: C/C++ has never been supported in MonoDevelop on Windows, though reportedly some users were able to