monodevelop

Implementing C# IEnumerable<T> for a LinkedList class

旧时模样 提交于 2019-12-20 02:04:26
问题 I'm trying to write a custom LinkedList class in C# using monoDevelop on Linux, just for the sake of testing and learning. The following code never compiles, and I have no idea why!! It doesn't even tell me what's wrong. All what it says is: Error: The compiler appears to have crashed. Check the build output pad for details. When I go to check the output pad, it's not helpful either: Unhandled Exception: System.ArgumentException: The specified field must be declared on a generic type

How to add libraries to Xamarin References lists

有些话、适合烂在心里 提交于 2019-12-19 17:27:55
问题 Is there a place to put libraries(dlls) so they show up in the References list in a project to be selected. I know I can manually add them from my personal library, however I would like to be able to have them in the available list so all I need to do is select them. I assume there would be some way to indicate which platform they are for. 回答1: Under Edit References select .Net Assemblies and pick the dll to add to the project. When it is added the first time it will be in the references for

Alternatives to MS Visual Studio .NET [closed]

流过昼夜 提交于 2019-12-19 08:54:39
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . I've been working mostly with MS Visual Studio .NET tools and technologies, but started to wonder out of curiosity if there are alternatives to it, especially open source ones, since it seems like for every payed products there are free open source alternatives. 回答1: Yes, there are alternatives. Best known is

Mono ARMv7 and LLVM

痞子三分冷 提交于 2019-12-19 08:07:10
问题 I'm updating my app to ios6 and i having following problem building application with ARMv7 is not possible to use the flag LLVM ... (error MT3001) My system configuration is MonoDevelop 3.0.4.7 MonoTouch 6.0.0.0 Mono 2.10.9 Reference to question: iOS 6 Mono and backward compatibility UPDATE Error is Could not AOT the assembly ICSharpCode.SharpZipLib.dll (MT3001) Verbose output /Users/TEST/Desktop/Xcode_4.5.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc -miphoneos

Xamarin IDE Access to the Path is denied

淺唱寂寞╮ 提交于 2019-12-19 05:15:13
问题 I'm porting over a Visual Studio C# solution with many projects and creating a new solution in the Xamarin IDE - all on windows. I am porting / re-creating 1 project at a time and then compiling. I can compile each project individually but and then I can compile the solution (with some errors). The problem arises if I try a Rebuild All, then it shows the error: 'Access to the path "[my build path\some.dll]" is denied.' I have full admin rights and, as I mentioned, I originally could build the

C#, Localization, Resources, and MonoDevelop

这一生的挚爱 提交于 2019-12-18 11:55:36
问题 My problem is this : Using MonoDevelop (which is the preferred environment for a number of projects I'm working on) I'm trying to figure out how to use resource files for localized messages and how to properly include them in the project as an embedded resource. My goal is to have a resources file with simple name-value pairs for message keys and their values, and have separate files for their localized strings e.g. Messages.resources Hello.World = Hello World Goodbye.Cruel.World = Goodbye,

How can I launch multiple instances of MonoDevelop on the Mac?

五迷三道 提交于 2019-12-18 09:55:30
问题 I would like to open a new MonoDevelop instance to work on a different project on the Mac, and the OS is currently preventing me from opening a new instance. 回答1: On Mac, if you have an app open and you try to launch it again, the Mac just switches to the open app. You can force it to open a new instance by passing the option "-n" to the launcher. In a terminal, run open -n /Applications/MonoDevelop.app Note also that MonoDevelop is capable of opening multiple solutions. To do this, simply

What is the easiest way to add a custom icon to an application using monodevelop? [duplicate]

安稳与你 提交于 2019-12-18 09:07:30
问题 This question already has an answer here : Closed 7 years ago . Possible Duplicate: Mono .EXE assembly set explorer icon I recently started a c# project with monodevelop as IDE (should run on both Windows and Linux) and I'd like to provide my own application icon for the .exe file, instead of the default one. Any suggestion how this can be done? Thanks in advance. 回答1: Go to the Project Menu -> <project name> Options and in the project option windows : 回答2: Right-click your project, Options,

Error: JNI ERROR (app bug): accessed stale global reference

怎甘沉沦 提交于 2019-12-18 03:57:00
问题 I am getting this error JNI ERROR (app bug): accessed stale global reference When I run my app in Android OS v4, But when I run the same application in Android v2.3 I don't get this error. This error occurs at the point where I call AsyncTask class, where I pass a string array as argument Could Anyone Help me?? 回答1: This error occurs when you call a method with an incorrect parameter type. Make sure your method signature matches exactly what you are passing. For a string array: jmethodID mid

Does UIButton become disabled when its alpha is set to 0.0?

爱⌒轻易说出口 提交于 2019-12-17 21:00:46
问题 I have a few buttons in my app whose alpha is currently set to zero. These buttons are completely non-responsive, but as soon as I increase their alpha, they begin to respond. Is this expected behavior? 回答1: As per Apple's documentation for UIView 's hitTest:withEvent: method: This method ignores view objects that are hidden, that have disabled user interactions, or have an alpha level less than 0.01. So any UIView that has alpha lower than 0.01 will be ignored by the touch events processing