monodevelop

open a .csproj with monodevelop

时间秒杀一切 提交于 2019-12-06 09:14:23
I've downloaded a framework with samples in .csproj project format. How can I open them in MonoDevelop? I'm interested in using some classes in that framework. It has a folder structure like: Accord.Statistics.Models and a main folder Accord with a subfolder Statistics with a subfolder Models with a file ModelFoo.cs I want to use that file (that begin with namespace Accord.Statistics.Models ) in a MonoDevelop Solution under Ubuntu. If I copy the folder or single files inside my new Solution I get the error Are you missing a using directive or an assembly reference? How can I do? Create a new

MonoTouch, Sharepoint web services and xs:any

戏子无情 提交于 2019-12-06 08:22:39
问题 Has ANYONE gotten a web service call to work with SharePoint to operate with MonoTouch/MonoDevelop/Mono?? I am able to get the WSDL from the typical endpoint (/_vti_bin/Lists.asmx in this case), and MonoDevelop creates a Reference.cs as expected. I have modified the Reference.cs to include the "name" parameter, so all XmyAnyElements now look like: [System.Xml.Serialization.XmlAnyElement("Any","")] //name and namespace While this can compile, runtime complains about the XmlNode. Fair enough, I

Mono for Android: Unicode Assets file names can't be packaged

折月煮酒 提交于 2019-12-06 06:35:44
When an asset contains unicode characters in the file name, for example Chinese or Arabic, the file can not be deployed to a package, it errors out. Renaming the file to ANSI characters fixes it. Is there a way to get MonoDevelop + MonoDroid deploy unicode Assets? I can't find this documented anywhere, but asset filenames must be ASCII, because that's what the aapt tool requires : /* * Names of asset files must meet the following criteria: * * - the filename length must be less than kMaxAssetFileName bytes long * (and can't be empty) * - all characters must be 7-bit printable ASCII * - none of

How do I cut, copy, paste and select all in a TextView control?

久未见 提交于 2019-12-06 05:55:55
问题 I'm trying to cut, copy, paste and select all with the TextView Gtk control. Why the TextView control? Cause I can't seem to get the bloody TextEditor control to go multiline! Anyway... How do I: Cut text from the TextView control? Copy text from the TextView control? Paste text into the TextView control? Select All text in the TextView control? Here's what I've tried: 1 hour of googling. and this: TextView tv = ...; TextIter start, end; if (tv.Buffer.GetSelectionBounds(start, end)) { String

iOS 6 Mono and backward compatibility

别来无恙 提交于 2019-12-06 05:36:51
问题 I'm updating my app to ios6 and i having following problems it is not possible to build application by architectures supported ARMv6 + ARM v7 but just only ARM v7 (the error is that iOS6 is not compatible with ARM v6). This means that my application will not work with all devices? building application with ARMv7 is not possible to use the flag LLVM ... (error MT3001) building application with SD 6 will also backward compatible with others iOS lower and all other devices (see question / error

MonoDevelop + NAudio + Ubuntu Linux tells me Winmm.dll not found?

和自甴很熟 提交于 2019-12-06 04:08:09
问题 So I'm attempting to use MonoDevelop with NAudio and Ubuntu Linux, For some reason It errors saying that winmm.dll isn't found so I attempted to download it and and the "Add Reference" dialogue claims its not a valid .NET library. Here is my code.... using System; using System.IO; using Gst; using GLib; using Gst.BasePlugins; using NAudio; using NAudio.Wave; namespace record_audio_simple_test { class MainClass { //Define class variables private NAudio.Wave.WaveFileReader waveFile = null;

RhinoMocks breaking the compiler in recent versions of Mono / MonoDevelop

梦想的初衷 提交于 2019-12-06 02:24:36
I'm not sure exactly what broke this as I've been sporadic with my Mono/Monotouch development, but I believe it's the latest update to the mono framework. All of a sudden building my Unit Test project (which itself is a MonoTouch Library project) now breaks the compiler and it seems to be the RhinoMocks DLL (removing the reference fixes it). It looks like the RM DLL is referencing the wrong System DLL (not the MT one) but what is confusing is why this never broke before and my tests used to run fine. I've put a simple sample SLN up on Github that reproduces the error: https://github.com

Can't add .NET 4.0 Assembly Reference In MonoDevelop 2.4.1

只愿长相守 提交于 2019-12-06 01:00:02
问题 I've installed MonoDevelop 2.4.1 With Mono 2.8.1. My trouble is that i can't add assembly reference to assembly compiled for .NET 4.0 (on same MonoDevelop IDE). What am i do. References -> Edit References -> .NET Assembly -> Browse to file & select it Than MD displays an error that an assembly that i'm trying to add isn't .NET assembly. I've set profile to .NET 4.0 everywhere. Reflector disassembles my assembly fine so it's ok. My OS is Windows 7 What's wrong? UPD: Posted a bug to Novell.

mono : Is remote debugging possible with monodevelop?

百般思念 提交于 2019-12-06 00:50:16
mono : Is remote debugging possible with monodevelop? I want to remote debug a console application running on a remote RHEL server with monodevelop installed on CentOS development machine. Is this possible with monodevelop? This could actually be done with the Soft Debugger . Currently, no. This is not possible. I have heard the MonoDevelop team mention they would like this feature in the future, but I do not believe they have a schedule yet for when they will get to it. The new Soft Debugger and the MD addin do support remote debugging but there's no way to set up the debugger session from

MonoTouch Error: “The Apple iPhone SDK not installed” after upgrade to iOS 5.1

丶灬走出姿态 提交于 2019-12-05 21:33:16
I've upgraded iOS 5.0.1 to 5.1 and I'm using MonoTouch 5.2.5 and MonoDevelop 2.8.6.5. When I created a sample applcation in MonoDevelop, it shows the error "The apple iphone sdk not installed". How do I get MonoTouch to work with iOS 5.1? Did you only update your device(s) to iOS 5.1 ? or Did you install the new Xcode 4.3.1 from the AppStore ? That where the iOS 5.1 SDK is available and MonoDevelop 2.8.6.5 should pick it up automatically. From MonoDevelop menu, select About Mono Develop item, select the Version Info tab and look if anything is listed as missing (or simply looks wrong). You can