monodevelop

Monodevelop on Mac how to I set the working directory for debugging

不问归期 提交于 2019-12-08 03:56:44
问题 I know I can set custom run commands for running which includes setting the working directory but I cannot seem to find the setting to set the working directory when debugging. Any ideas? 回答1: The debugger uses the same working directory that "Run" uses. 回答2: To set a working directory in "Run" or "Debug" mode : in "Project Options", add a "Run/Custom Command" with type " Execute " set the command: ${TargetFile} set your working directory 来源: https://stackoverflow.com/questions/8186009

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

蓝咒 提交于 2019-12-08 02:11:57
问题 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? 回答1: 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

Using System.Json to convert C# Arrays and Objects to a JSON string

梦想的初衷 提交于 2019-12-08 00:35:02
问题 I am looking at System.Json, but can't seem to find methods in here that will allow me to convert a C# array or class instance into a JSON string. I am looking for functionality similar to SBJSON in objective-c where, for example, an NSArray can be converted to a JSON string as follows: NSString *resultArrayString = [json stringWithObject:resultArray allowScalar:YES error:nil]; Staying with this same example, is there an equivalent method in System.Json namespace somewhere that would allow

C# WinForms application to linux

天涯浪子 提交于 2019-12-07 22:10:46
问题 I've been developing C# application using WinForms(not wpf) and I made it few days ago. Then my boss asked me can I make it work in linux. I said no, but as I know there is a MonoDevelop to make it real. Or there are any other solutions about making it real. The other problem is that I have only windows XP installed on my work computer. MonoDevelop doesnt install on win XP. So I can try to remake it in MonoDevelop at home, but I never did it before. Does it take a lot of time to learn

mono : Is remote debugging possible with monodevelop?

隐身守侯 提交于 2019-12-07 14:19:43
问题 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? 回答1: This could actually be done with the Soft Debugger. 回答2: 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. 回答3: The new

MonoTouch NullReference for every event/Action (SIGSEGV)

时间秒杀一切 提交于 2019-12-07 13:15:38
问题 The problem I'm having is that in my brand new project I have a Window with a button (Outlet and Action defined) and in my C# code I've wired up the partial void implementation of the Action. Then I have a View that I load and do the same thing. The issue is that the View causes a System.NullReferenceException, the 'Click' code never gets run, instead I end up with the following full trace Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll [External] Loaded assembly:

Testing a Monotouch app with NUnit in MonoDevelop 2.4

帅比萌擦擦* 提交于 2019-12-07 12:27:05
问题 I'm new to both Monotouch and Monodevelop. Trying to get started with NUnit and I'm having a lot of trouble -- none of the sketchy references I can find on line seem to match what I'm seeing in the UI (MonoDevelop 2.4 on Mac OS 10.6). I've tried: Adding an "NUnit assembly test collection" project to my solution. Adding an "Empty MonoTouch Project" project to my solution, and then adding the NUnit assemblies to it, and adding my main project as a reference. Adding a C# "Empty Project" to my

Android for MonoDevelop on Ubuntu

元气小坏坏 提交于 2019-12-07 08:04:16
问题 I am new to Ubuntu. Before, I used VS in Windows and develop applications with C#. Now, I want to start developing Android applications. after search ... I install MonoDevelop.I start to read documents for this.on this page, I understand should install Mono for android, But I can't find this for Ubuntu.there are only for Windows and Mac. I am really starter! please help me and clean what dose it mean..! if i have mistake, show me How to start develop Android Applications whit MonoDevelop and

Monotouch set status bar Hidden - API change secure

可紊 提交于 2019-12-07 05:06:40
问题 How can I hide the status bar in a Monotouch application in such a way that it is backwards compatible on iOS 3.X while developing on iOS >= 4.X? 回答1: If you ever needed to set the status bar hidden in Monotouch App, and wanted to do it properly for code that runs backward compatible on OS 3.X while developing on iOS SDK 4.X and also for newer devices, here is the answer: if (UIApplication.SharedApplication.RespondsToSelector(new Selector("setStatusBarHidden: withAnimation:"))) UIApplication

Error when compiling MonoDevelop 5.3 on Linux

荒凉一梦 提交于 2019-12-07 04:42:44
问题 I have installed Ubuntu 14.04 on my laptop and I'm trying to compile the code of MonoDevelop 5.3 that I downloaded from GitHub, I've installed all the dependencies. I have installed Mono 3.2.8: raven@raven-laptop:~/Downloads/monodevelop$ mono -V Mono JIT compiler version 3.2.8 (Debian 3.2.8+dfsg-4ubuntu1) Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com TLS: __thread SIGSEGV: altstack Notifications: epoll Architecture: amd64 Disabled: none Misc: