mono

Xamarin 5.10.3 installation error (on mac)

给你一囗甜甜゛ 提交于 2019-12-25 07:39:27
问题 I have a problem while running Xamarin 5.10.3 . I installed xamarin 5.10.3 and MonoFramework-MDK-4.4.0.142 among other dependencies, but I keep getting this error: 回答1: The error indicates that the MonoDroid addin is disabled. So you can try enabling it in the Add-in Manager or if that is not possible you can edit the following file and make sure the MonoDroid addin is enabled there: ~/Library/Caches/XamarinStudio-5.0/addin-db-002/config.xml If none of the above work I would close Xamarin

Running GTK# Application on Windows

ぃ、小莉子 提交于 2019-12-25 06:43:17
问题 I've just programmed and built a GTK# application using MonoDevelop on Linux Mint 16. I wanted to see if it's cross-platform enabled, so I tried to run it on a Windows 8 machine (which has .NET Framework 4.0), and installed Mono runtime (which includes GTK# for Windows) so that it could run over there. Here's the issue: when I run the executable from Windows Explorer, I assume .NET Framework takes over, because nothing happens. The executable will run if, from within Windows, I enter "Mono

Custom Linux distro - mono runtime not found

眉间皱痕 提交于 2019-12-25 05:32:51
问题 I am trying to add mono to core-image-minimal for P202RDB custom Linux distro. Here is my bblayers.conf file: # LAYER_CONF_VERSION is increased each time build/conf/bblayers.conf # changes incompatibly LCONF_VERSION = "6" BBPATH = "${TOPDIR}" BBFILES ?= "" BBLAYERS ?= " \ /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta \ /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto \ /home/testuser/QorIQ-SDK-V1.9-20151210-yocto/sources/poky/meta-yocto-bsp \ /home

What is the proper way to install Mono 4.4.2 on Android x86_64?

老子叫甜甜 提交于 2019-12-25 05:12:08
问题 After some experiments I compiled Mono 4.4.2 for Android x86_64 (Marshmallow) using Android NDK r13b. I had to do some tricks, but after all I had these folders in my build directory: bin etc include lib share The bin folder looks like : The lib folder is: The lib folder contains only unmanaged libs, e.g. the 'mono' subfolder doesn't contain managed BCL for each version of the framework, I couldn't figure out how to tell to 'configure' script to do this. So I've compiled the same version of

Has anyone used any .Net code generation frameworks in Mono? (Subsonic, .netTiers, etc..)

主宰稳场 提交于 2019-12-25 04:34:11
问题 Mono appears to have really come a log way since the last time I really used it. I'm interested in doing some ASP.Net development using Mono. I have used .netTiers/CodeSmith at work and really enjoy the speed with which code generation gives you a clean working data access layer. The question is has anybody used any code generation with Mono? I am open to learning something like SubSonic or NHibernate if those work better with Mono. Thanks in advance for any help. 回答1: I have used subsonic

Has anyone used any .Net code generation frameworks in Mono? (Subsonic, .netTiers, etc..)

荒凉一梦 提交于 2019-12-25 04:34:05
问题 Mono appears to have really come a log way since the last time I really used it. I'm interested in doing some ASP.Net development using Mono. I have used .netTiers/CodeSmith at work and really enjoy the speed with which code generation gives you a clean working data access layer. The question is has anybody used any code generation with Mono? I am open to learning something like SubSonic or NHibernate if those work better with Mono. Thanks in advance for any help. 回答1: I have used subsonic

nunit-console crashes after running the tests

雨燕双飞 提交于 2019-12-25 04:18:06
问题 I'm using nunit-console for unit testing a Mono application on Debian. It runs all the tests and then crashes after reporting the failed tests. TestResult.xml is not generated. If I use nunit-console with either -out or -err argument, it runs the tests and then crashes before reporting the results. Another weird thing is that if I cut down the number of tests (from about 800 to 100) it sometimes wont crash. Throwing out even more testcases seems to decrease the chance of crashing. Platform:

System.Windows.forms under ubuntu

一曲冷凌霜 提交于 2019-12-25 04:17:56
问题 Hi i'm really a beginner in C# and still learning the principles of language I'm working under ubuntu and compiling with gmcs and running with mono and I need to compile a program beginning with : using System.Windows.forms; using System.Drawing; What should I do, It seems to be an assembly problem but I still don't know how that works ? 回答1: I would suggest using mono-develop to start with. It will configure the build and deployment for you. It is easier this way at first. 来源: https:/

How to fix SIGSEGV which prevents MVC application running in Mono

我们两清 提交于 2019-12-25 03:04:09
问题 ASP.NET MVC application is installed in Debian server using Apache and mod_mono. Trying to start it causes SIGSEGV exception in Mono. Apache error.log contains [Wed Mar 06 22:07:13 2019] [notice] Apache/2.2.22 (Debian) mod_mono/3.12 configured -- resuming normal operations Listening on: /tmp/.mod_mono_server4 Root directory: / Stacktrace: [Wed Mar 06 22:07:35 2019] [error] (70014)End of file found: read_data failed [Wed Mar 06 22:07:35 2019] [error] Command stream corrupted, last command was

Monodroid - GC.Collect fails without any reason

 ̄綄美尐妖づ 提交于 2019-12-25 02:20:09
问题 I have an application with 4 tabs (TabActivity). By some reasons I call GC.Collect every time user switches tab (overriding OnPause Activity's method). Sometimes (approximately 1 time from 50-100 calls, but sometimes this happens when application just started) my application hangs in this moment. Here is part of my code: protected override void OnPause(){ base.OnPause(); try{ Android.Util.Log.Info("----","GC.Collect(GC.MaxGeneration, GCCollectionMode.Forced);"); GC.Collect(GC.MaxGeneration,