monodevelop

Testing a Monotouch app with NUnit in MonoDevelop 2.4

倾然丶 夕夏残阳落幕 提交于 2019-12-05 21:22:37
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 solution, and adding NUnit, MonoTouch, and my own project as references. This produces a build error

How to change Picker background Color in Xamarin MAC Platform

喜你入骨 提交于 2019-12-05 21:12:23
After updating the Xamarin Library and MAC OS to latest system, facing issue in Picker Background color and color of item that is selected/focused in picker for MAC Platform in my visual studio 2017. Picker that is filled with multiple values On opening the picker can not able to set the background color and the item that is selected is also not visible because of its color How can I set the background color of that picker and the color of that focused/selected item of picker? This seems to be caused for the new Theme used by Mojave. One way to overcome this issue is by setting a value that

MonoTouch NullReference for every event/Action (SIGSEGV)

百般思念 提交于 2019-12-05 20:47:17
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: /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll [External] Loaded assembly: /Users/drisszouak/Projects

Stack overflow in unmanaged: IP: 0x26eb76, fault addr: 0xbf808ffc

匆匆过客 提交于 2019-12-05 18:48:57
问题 My Mono application crashes on Mac with this message (Full log): $ mono --debug bin/Debug/SparkleShare.app/Contents/MonoBundle/SparkleShare.exe [...] Stack overflow in unmanaged: IP: 0x26eb76, fault addr: 0xbf808ffc [...] "in unmanaged" implies that the stack overflow is not in my code (I only have managed code) but rather in a library I embed (SQLite, DotCmis, NewtonSoft.Json) or in Mono's code. Even though I compile and run in Debug mode, all I get is these two hexadecimals. QUESTION: How

MonoDevelop settings to fix “ran out of trampolines type 2” error

自古美人都是妖i 提交于 2019-12-05 18:35:30
问题 we are developing an iOS app. When we tested the app on PC, everything works well but when we ran it on a iPad/iPhone4 we frequently receive the "Ran out of Trampolines type 2" error message and the app crash. We have been spending the last few days trying to identify the cause/fix it and tried all the suggestions we have find on the net, we still have not made any progress. The only solution we have found are from the posts/webpages talking about the adjusting the trampoline settings with

When using the latest Monodevelop and VS 2012 RC to share code I get problems

喜你入骨 提交于 2019-12-05 18:14:39
问题 When using the latest Monodevelop and VS 2012 RC to share code. I can load and use the .sln solution, .csproj project files, and all the code files from either a Mac running MonoDevelop and a Windows 7 PC running the latest VS 2012 beta. The source code is on a share between the machines. This works really well... but at some stage when I try to reload the solution project under MonoDevelop on the mac MonoDevelop thinks the solution file .sln is a Hex file and loads and displays it hex in a

Xamarin Studio, GTK 2.0 C# application, runtime error, can't load libglib-2.0-0.dll

主宰稳场 提交于 2019-12-05 15:35:34
I've installed fresh Xamarin Studio 5.10 on Windows 7 and created standard GTK 2.0 C# project (via New Project > .Net > GTK#2.0 Project). Code's below: using System; using Gtk; namespace _test { class MainClass { public static void Main (string[] args) { Application.Init (); MainWindow win = new MainWindow (); win.Show (); Application.Run (); } } } Build is ok, but runtime error raises (I've translated error from my native language into english): Can't load DLL "libglib-2.0-0.dll": Procedure was not found (Exception from HRESULT: 0x8007007F) Mono and gtk# seems to be installed ok via exes from

System.IO.File' does not contain a definition for `AppendAllText' error in Unity3D?

拥有回忆 提交于 2019-12-05 15:13:53
I am very new to Unity3d and tried to open an existing project. While playing it shows the following error. Assets/Scripts/DataAccess.cs(39,30): error CS0117: System.IO.File' does not contain a definition for AppendAllText' I dont have any idea about how to solve this. I get stuck over here. It would be appreciating if anyone solve this problem. Thanks in advance... I ran into this, where no one else on my team could reproduce it. We are targeting the iOS platform, and for some reason, my Build settings changed magically back to Web Player. Changing this BACK to iOS fixed the issue for me. On

Android for MonoDevelop on Ubuntu

喜夏-厌秋 提交于 2019-12-05 12:03:15
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 C#. thanks Mono for Android development is only supported on Windows and Mac OS X. It's not currently

Monodevelop 2.8, XCode 3.2.6, Interface Builder: Outlets and Actions

陌路散爱 提交于 2019-12-05 10:36:51
EDIT: Since I haven't installed XCode 4 yet, I would like to know if MD 2.8 is fully compatible with XCode 3.2.6 or not. In particular, Am I able to connect Outlets and Actions with the new procedure described in MT documentation ? I've just installed MonoDevelop (MD) 2.8. It seems not working I was expecting. In MD 2.6 when I create a new UIViewController, that controller is presented like the following: Controller.xib <- inside the same tree Controller.xib.cs Controller.xib.designer.cs In addition if I open a xib file, Controller.xib, only Interface Builder (IB) is opened. If I add outlets