monodevelop

Monodevelop - Try to install on linux Precise 64 (Ubuntu 12.04 LTS)

和自甴很熟 提交于 2019-12-12 01:26:10
问题 I'm trying to install Monodevelop from http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives. I'm using a virtual Box VM via Vagrant with an Ubuntu Precise 64 Guest OS I have done this steps : sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF echo "deb http://download.mono-project.com/repo/debian wheezy main" | sudo tee /etc/apt/sources.list.d/mono-xamarin.list sudo apt-get update echo "deb

Monodevelop. Method that visible from Assembly Browser not found. (CS0584)

安稳与你 提交于 2019-12-12 01:08:55
问题 I have the .dll that is part of AForge.NET framework. I can't compile project because: Error CS0584: Internal compiler error: Could not import type `AForge.Imaging.Filters.Sepia' from `AForge.Imaging, Version=2.2.4.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b' (CS0584) (projectName) Error CS0584: Internal compiler error: Could not import type `AForge.Imaging.Filters.Invert' from `AForge.Imaging, Version=2.2.4.0, Culture=neutral, PublicKeyToken=ba8ddea9676ca48b' (CS0584) (projectName)

how to show text with time difference? (monodevelop c#)

守給你的承諾、 提交于 2019-12-11 23:10:49
问题 I made a GTK# 2.0 Project from MonoDevelop, and modified MainWindow.cs like this; using System; using System.Threading; using Gtk; public partial class MainWindow : Gtk.Window { public MainWindow() : base(Gtk.WindowType.Toplevel) { Build(); } protected void OnDeleteEvent(object sender, DeleteEventArgs a) { Application.Quit(); a.RetVal = true; } protected void OnButtonClicked(object sender, EventArgs e) { textview.Buffer.Text = "Hello, world!"; Thread.Sleep(2500); textview.Buffer.Text +=

C# not outputting to console

江枫思渺然 提交于 2019-12-11 20:36:03
问题 I'm sure there's some simple answer, but none of the other Stack Overflow posts has helped me. My code will not log to the Console, and it's hard to do anything useful with that state of affairs. using System; using System.Diagnostics; namespace Learning { class MainClass { public static void Main (string[] args) { Debug.Log ("this?"); Debug.Print ("How about this?"); Console.WriteLine ("WORK"); Console.ReadLine (); } } } I've been able to write to the console before, I don't know why it's

Debug reference's code in MonoDevelop

孤人 提交于 2019-12-11 20:35:32
问题 In Visual Studio when I'm debugging a project if I go in to code that's a reference to the project VS will try to find the reference's source code and symbols so that you can step through the code. How do I so this in MonoDevelop on OSX when trying to debug a MonoMac application? 回答1: In preferences under the MonoDevelop menu there is a settings section called "Debugger". In there is a settings called "Debug project code only; do not set into framework code" Unchecking that will tell

Problem running a MonoDevelop App

∥☆過路亽.° 提交于 2019-12-11 20:05:27
问题 This is a continuation of my Problem in creating a MonoDevelop App question, The problem is solved, I am able to create an App, but now I'm having problems running it, When I run the application I get an error saying, C:\Users\tarun\Documents\Projects\myAndroidApp\myAndroidApp\aresgen: Error 1: Could not find SDK platform directory 'C:\Program Files (x86)\Android\android-sdk\platforms\android-4'. Ensure you have installed support for this Android platform version in the Android SDK Manager.

I've exported my highlighting scheme in Xamarin Studio. Now how do I import it?

萝らか妹 提交于 2019-12-11 19:07:57
问题 The lastest update of Xamarin Studio changed how syntax highlighting is stored and exported, apparently to make it compatible with Visual Studio, and as a result my customized scheme was lost. I painstakingly reconfigured the scheme and exported it. But now when I try to 'add' the scheme into Xamarin Studio on another computer, nothing happens. How can I import the exported scheme onto another computer? 回答1: If the exported file ends with Style.json it will import, e.g.

PostgreSQL with EntityFramework in MonoDevelop on Ubuntu

爱⌒轻易说出口 提交于 2019-12-11 18:26:36
问题 I tried to configure a project in MonoDevelop on Ubuntu, to use EntityFramework with Npgsql provider, by following official steps. However, something seem to be wrong with that suggested configuration file (or I'm missing something), as I can't get rid of this error: The Entity Framework provider type 'Npgsql.NpgsqlServices, Npgsql.EntityFrameworkLegacy, Version=2.1.0.0, Culture=neutral, PublicKeyToken=5d8b90d52f46fda7' registered in the application config file for the ADO.NET provider with

Showing Font Selection Dialog in GTK#

核能气质少年 提交于 2019-12-11 17:58:18
问题 In MY gtk# Application im trying to show the font selection dialog.Im trying to use the following code,but the FontSelectionDialog constructor need some arguments also does the control execution wait for a font to be selected to set the string font Can someone guide me? Gtk.FontSelectionDialog fs = new FontSelectionDialog() fs.Show (); font=fs.FontName; 回答1: Updated according to additional question This should help: FontSelectionDialog dialog = null; try { dialog = new FontSelectionDialog(

How To Read RBG-Pixel values from CGImage in ios

大憨熊 提交于 2019-12-11 17:46:34
问题 How I can Read the RGB-Pixel by Pixel values from CGImagea also after how to assign it to UIImage 回答1: To read RGB pixel values with MonoTouch you can use the code posted in the answer to the following post (works fine for me): Retrieving a pixel alpha value for a UIImage (MonoTouch) You can also find the following post useful: Transparent PNGs in Monotouch for iOS And here is a link to a working implementation of mine of a convolution filter, that reads and demultiplies the pixel's rgb