monodevelop

What are the complete set of steps to fully build a Monotouch app bundle from the command line?

空扰寡人 提交于 2019-12-01 21:42:43
I'd like to know what the complete set of steps is to build a MonoTouch C# app consisting of the main application assembly containing xib files and a set of library assemblies that also possibly contain xib files. We're trying to automate these steps via a proper MSBuild script (which MonoTouch has yet to support) for various reasons which I won't go into, to focus on the question here. So far, here's what I've come up with: 1) Compile each assembly using smcs, e.g. /Developer/MonoTouch/usr/bin/smcs /noconfig "/out:/Users/bright/src/MonoTouchAppWithLib/AppLib/bin/Debug/AppLib.dll "/r:

Mac OSX asking for keychain access when building MonoDevelop iOS App

社会主义新天地 提交于 2019-12-01 21:40:49
When building projects in MonoDevelop on the Mac, I get the message "MAC OS X wants to make changes.Type an administrator's name and password to allow this. MAC OSX wants to use system keychain." I found the post Mac OS X wants to use system keychain when compiling the project but this doesn't quite answer my problem. The profiles I installed were done via XCode and are my current/valid profiles on the Provisioning Profile so I assume these are Ok - XCode reports they're valid. I've moved my dev environment from a Macbook (where compiling apps worked fine, without this error) to another Mac

a valid signing identity not be found?

怎甘沉沦 提交于 2019-12-01 21:02:18
I am trying to create a distribution build with mono for days already... I got the distribution provisioning profile and the distribution certificate from our "team agent" and drag-dropped seperately onto xcode-organizer and keychain-access, but still, there's the warning message showing : "A valid signing identity matching this profile could not be found in your keychain." and I couldn't make the distribution build still. Any idea which step I made it wrong? Please advice; much appreciated! Thanks, ab.yyang It sounds like you only have the provision file and the certificate from Apple, but

App Store error: The binary you uploaded was invalid

安稳与你 提交于 2019-12-01 19:17:12
The notorious error haunts me in App Store: "The binary you uploaded was invalid. The signature was invalid, or it was not signed with an Apple submission certificate." Steps I've taken: 1) I'm using Monotouch / MonoDevelop. 2) App works on iPhone Simulator and on Device. 3) I've made the distribution build according to the examples in MonoTouch documentation (using Distribution profile). 4) I've checked that the xxxx.app package contains the file "embedded.mobileprovision". 5) I'm zipping (in OS X GUI) the app bundle (only the xxxx.app file). 6) I've checked the integrity of the xxxx.app file

Monodevelop on Ubuntu Console.ReadLine doesn't work

こ雲淡風輕ζ 提交于 2019-12-01 18:55:09
I'm trying to develop on Mono platform on Ubuntu. But I got trouble on my first application :) Here is the code: using System; using System.Threading; namespace threadings { class MainClass { public static void Main (string[] args) { Console.WriteLine ("The start"); string x=Console.ReadLine(); Console.WriteLine(x); Console.WriteLine ("the end"); } } } And here is the result: The start the end And no any string between them, and no reading from console happens, and I can't input anything. What is the problem? Maybe I do something wrong? My environment: Ubuntu: Linux nozim-desktop 2.6.32-32

Missing h-files and Assistant Editor not working because of it (monoTouch/MonoDevelop)

强颜欢笑 提交于 2019-12-01 17:56:56
I am missing the .h-files when I just started my HelloWorld in MonoTouch/MonoDevelop. I have the same question as this guy , but the answer provided did not help me. I just installed everything needed for MonoTouch on a MacBook running Lion. I followed the steps/instructions to install (see here ) and then created a new solution. But since there are no .h-files, this means that whem I use the interface Builder in Xcode, I only get the "No Assistant Result" when I open the "Assistant Builder". I have tried to create the HelloWorlsViewController.h file manually, but it doesnt seem to help either

How to step into Framework source code in MonoDevelop

大兔子大兔子 提交于 2019-12-01 16:24:15
While debugging a project in MonoDevelop how can I step into Mono Framework source code? I'm running the vanilla MonoDevelop from openSUSE 11.3. This is an old post, but I stumbled upon it looking for the answer today, so hopefully it will help someone else out. Just unchecking the "Do not step into framework code" doesn't work unless you have the source in the location the PDB/MDB files point to. On my box, it was looking for the source at "/usr/src/packages/BUILD/mono-2.10". In order to find out specifically where it should go for you, generate and log out an exception that contains a stack

Monotouch and XCode 4, where did the outlets go?

只愿长相守 提交于 2019-12-01 15:48:33
Today I updated my mac with the latest version of MonoDevelop, MonoTouch and the Mono-Framework. I also downloaded the latest version of XCode, version 4 (a nifty 4.5 gig download). At first I did not notice it because I was busy copying code into my project for re-use. But when the time came to actually add some controls, actions and outlets to the MainWindow file - I realized that something was missing. Hopefully I have over-looked something, because I cannot find functions for adding outlets and actions any more? After googling the problem I realized that the new XCode now does these things

“.. must derive from WebViewPage, or WebViewPage<TModel>” on MonoDevelop & MVC3 (OS X)

六眼飞鱼酱① 提交于 2019-12-01 13:58:25
问题 I'm trying to get an MVC 3 Razor project going with MonoDevelop. I've created a new ASP.net MVC 2 project using Mono 2.10.9 / MonoDevelop 3.0.4.7, and copied the below DLL's from an existing Windows-based MVC3 project to the "bin" directory of the Mono project: System.Web.Helpers.dll System.Web.Razor.dll System.Web.WebPages.Deployment.dll System.Web.WebPages.dll System.Web.WebPages.Razor.dll Have set the project to use Mono / .NET 4. The default Index file has been deleted and replaced with

Implementing C# IEnumerable<T> for a LinkedList class

怎甘沉沦 提交于 2019-12-01 09:17:34
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 definition. Parameter name: field What can I do? using System; using System.Text; using System.Collections