monodevelop

MonoDevelop: is it possible to switch PCL's compiler?

孤人 提交于 2019-11-29 02:01:30
We are starting a cross-platform project to be deployed to Android and iOS. Obviously, a lot of code is to be shared between the two, and some of the code relies heavily on the .NET framework items, like sqlite-net library does. The best way (afaik) to share the code between 2 projects is to use a PCL – this way it is possible to reference the project with shared code from both iOS and Android projects in a solution and have everything re-compiled and linked in a nice manner. However, a PCL created in MonoDevelop is compiled with gmcs compiler and some of external dependencies fail to be built

Google Account login Integration for android Xamarin

我的梦境 提交于 2019-11-29 01:39:12
问题 I need to integrate google login to android xamarin application. gone through the code from bellow link: http://motzcod.es/post/67077106339/google-plus-services-login-and-1-in-xamarin-android it shows the error connection failed and [GooglePlayServicesUtil] Google Play Store is missing. even ofter adding google play service(Froyo) component. even i gone through the bellow links https://developers.google.com/+/mobile/android/sign-in Android: Login using google account? Google Login For Android

Code sharing between MonoTouch and MonoForAndroid

為{幸葍}努か 提交于 2019-11-28 19:01:47
What would be the best practice to share busines logic c# code between MonoTouch and Mono For Android projects? Edited: Initially, my question was about the physical file sharing: What do you propose to use: network file sharing or some code version control (git, svn)? In my case I am using two workstations - Mac (MonoDevelop with MonoTouch) and PC (Visual Studio with MonoDroid). What about Solution/Project folder structure? In "Blog Post: Xamarin Mobile World Congress 2012 Unofficial Conference App Released! " example structure is quite confusing: several solutions in one folder and then

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

青春壹個敷衍的年華 提交于 2019-11-28 13:19:09
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? 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 system, i.e. will not receive touch. I'm a little late to the game but you could always set the UIButton

Reading console input in MonoDevelop

十年热恋 提交于 2019-11-28 09:45:06
I am trying to a simple C# program that takes input and passes it as output. For instance, the output should be: What is your name? {user input} Your name is {user input} The program is: public static void Main(string[] args) { Console.WriteLine("What is your name?"); string name = Console.ReadLine(); Console.WriteLine("Your name is: " + name); Console.ReadKey(); } This is enclosed in a class called 'MainClass' Its output is: What is your name? Your name is: Why is this not working and how can I make it work? P.S. I am using MonoDevelop and I added Console.ReadKey(); after the last WriteLine.

How to build gstreamer-sharp with monodevelop/xamarin?

旧时模样 提交于 2019-11-28 08:49:38
i'm developer of AudioCuesheetEditor, an application for editing audio cuesheets. The new Version should be able to play back sound, so I would like to use gstreamer as backend. I investigated a bit in gstreamer and found out, that I need to use version 1.x with gstreamer-sharp 0.99.x binding. No problem, downloaded gstreamer-sharp 0.99.0, opened the solution with monodevelop (on linux) or xamarin (on windows) and tried to build the dll, but that didn't work. I get the error "namespace Gst.GLib" not found. I'm developing with xamarin/monodevelop and need to have a portable app (working with

How to add a custom view to a XIB file defined view in monotouch

我是研究僧i 提交于 2019-11-28 08:38:45
I'm trying to learn monotouch at the moment, and following the learn monotouch book by Mike BlueStein. Not a bad book, but it's slightly outdated since xcode 4 (i believe) and a newer version on monotouch has come out. Anyways, in my project I have a controller and a xib file. I also have a custom view (e.g. myview : UIView), that overrides the draw method. I want to show my custom view next to or on top of the view defined in the xib file. How do I do this? In the controller, If I override the LoadView method, and set the View to an instance of my custom view, then I can see it, but I loose

MonoDevelop ARMv6 on Raspberry Pi

我的梦境 提交于 2019-11-28 03:34:15
Will MonoDevelop compile to the ARMv6, mainly so I can get it running on my Raspberry Pi ? I've noted that Debian can run on the Raspberry Pi and Debian has a set of drivers for Mono . So does this mean we'll be able to develop in Mono? wmartin129 The Mono project supports ARM , so one should be able to build and use MonoDevelop on the Raspberry Pi. At least that's what I'm hoping! 2012-05-16 I got my Raspberry Pi yesterday (yay!) and can confirm that it is possible to compile and run .NET code (I tested with C#) using Mono and its MCS compiler module. This was all done via the shell and not a

Why is no warning given for this unused variable?

寵の児 提交于 2019-11-28 00:45:37
When compiling the following program in VS2010, VS2008 or MonoDevelop on Windows, I get warning CS0219 , "The variable 'y' is assigned but its value is never used". namespace Problem { public class Program { private static void Main(string[] args) { object x = new object(); int y = 0; } } } Why is there no warning for x when compiling in Visual Studio? Interestingly, I do get CS0219 warnings for x and y when compiling in MonoDevelop on Mac OS X. It turns out that this warning is suppressed when the right-hand-side of the assignment operation is not a compile-time constant. A since-deleted post

Can you Run Xcode in Linux?

和自甴很熟 提交于 2019-11-27 17:11:15
Can you run Xcode in Linux? Mac OS X was based on BSD Unix, so is it possible? From what I have heard, there is a MonoDevelop plugin that has an iPhone simulator. The low-level toolchain for Xcode (the gcc compiler family, the gdb debugger, etc.) is all open source and common to Unix and Linux platforms. But the IDE--the editor, project management, indexing, navigation, build system, graphical debugger, visual data modeling, SCM system, refactoring, project snapshots, etc.--is a Mac OS X Cocoa application, and is not portable. bbozo Nobody suggested Vagrant yet, so here it is, Vagrant box for