mono

MonoGame Mac Templates Installation

五迷三道 提交于 2019-12-22 16:29:11
问题 I am having trouble installing the MonoGame templates in MonoDevelop on Mac. I have placed the MonoDevelop.MonoGame.2.5 folder in MonoDevelop.app/Contents/MacOS/lib/monodevelop/AddIns/ as instructed by the readme but after restarting monodevlop, the template is not available in the new projects section. Can anyone help with this problem? 回答1: Mac templates should be available in the 2.5.1 bug fix release, due soon. 来源: https://stackoverflow.com/questions/10508349/monogame-mac-templates

Executing and then Deleting a DLL in c#

﹥>﹥吖頭↗ 提交于 2019-12-22 14:54:36
问题 I'm creating a self updating app where I have the majority of the code in a seperate DLL. It's command line and will eventually be run on Mono. I'm just trying to get this code to work in C# on windows at the command line. How can I create a c# application that I can delete a supporting dll while its running? AppDomain domain = AppDomain.CreateDomain("MyDomain"); ObjectHandle instance = domain.CreateInstance( "VersionUpdater.Core", "VersionUpdater.Core.VersionInfo"); object unwrap = instance

How to determine the revision from which current Mono runtime was built and installed?

烈酒焚心 提交于 2019-12-22 14:53:12
问题 I want to determine the revision (how to call properly it in Git?) from which current Mono runtime was built and installed. $ dmcs --version Mono C# compiler version 2.9.0.0 but it's definitely insufficient. XSP/ASP.NET error page gives more information: Version information: Mono Runtime Version: 2.8.1 (master/cdf1247 Sat Sep 4 01:22:04 MSD 2010); ASP.NET Version: 4.0.30319.1 but it seems to be a dirty hack to me. How to do it properly? 回答1: mono -V will output the version string, including

How to determine the revision from which current Mono runtime was built and installed?

时光毁灭记忆、已成空白 提交于 2019-12-22 14:52:32
问题 I want to determine the revision (how to call properly it in Git?) from which current Mono runtime was built and installed. $ dmcs --version Mono C# compiler version 2.9.0.0 but it's definitely insufficient. XSP/ASP.NET error page gives more information: Version information: Mono Runtime Version: 2.8.1 (master/cdf1247 Sat Sep 4 01:22:04 MSD 2010); ASP.NET Version: 4.0.30319.1 but it seems to be a dirty hack to me. How to do it properly? 回答1: mono -V will output the version string, including

Monodevelop - runs only using sudo

自作多情 提交于 2019-12-22 14:03:14
问题 I've installed Mono and Monodevelop on my Debian amd64 jessie build, and I can only run monodevelop using elevated privilege. Starting monodevelop from the UI startesque menu results in nothing appearing to happen. Starting monodevelop from a shell results in the following error: Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.Core.LoggingService ---> System.Configuration.ConfigurationErrorsException: Error Initializing

Mono and iOS 6 build error MT0000

半腔热情 提交于 2019-12-22 12:25:13
问题 I have a problem building my app on MonoTouch and iOS 6. My system configuration is: Mac OSX 10.7.4 (Lion) MonoTouch 5.2.13 MonoDevelop 3.0.3.5 XCode 4.5 with iOS 6 SDK beta 4. To link new iOS SDK I have selected on MonoDevelop preference SDK location (for me it's on desktop) and i have restarted it. Now, when I try to build my application, MonoDevelop gives me following error: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com (MT0000) Can anyone help me to understand

Mono and iOS 6 build error MT0000

徘徊边缘 提交于 2019-12-22 12:24:54
问题 I have a problem building my app on MonoTouch and iOS 6. My system configuration is: Mac OSX 10.7.4 (Lion) MonoTouch 5.2.13 MonoDevelop 3.0.3.5 XCode 4.5 with iOS 6 SDK beta 4. To link new iOS SDK I have selected on MonoDevelop preference SDK location (for me it's on desktop) and i have restarted it. Now, when I try to build my application, MonoDevelop gives me following error: Unexpected error - Please fill a bug report at http://bugzilla.xamarin.com (MT0000) Can anyone help me to understand

Why doesn't the ServiceStack Razor FileSystemWatcher work on Mono + Mac OS X?

寵の児 提交于 2019-12-22 10:56:19
问题 ServiceStack's new support for Razor v2 uses a FileSystemWatcher to detect changes to tracked view files and mark them as invalid so they'll be recompiled at the next request. This is great for debugging as it lets you edit your views and not rebuild/restart your project. On Mono (currently running 3.0.10) on my Mac OS X (Mountain Lion) there is apparently a Mono bug where the FileSystemWatcher doesn't raise Changed events for file changes. Furthermore, it also doesn't raise any events for

mod_mono gives EOF errors on fresh centos install

会有一股神秘感。 提交于 2019-12-22 10:51:27
问题 I have a fresh install of Centos 6.3 fully updated. I have installed mono, xsp, and mod_mono from sources. Each package compiled perfectly. They were all installed with a prefix of /usr/local/mono (so everything sits under /usr/local/mono) I have added "Include conf/mod_mono.conf" to my httpd.conf file. I generated a virtual host using http://go-mono.com/config-mod-mono/. I had to customize it slightly in order to get the right binary path, but that's it. Here is my vhost contents (I removed

Referencing .NET dll when compiliation(with mono)

南笙酒味 提交于 2019-12-22 10:45:52
问题 I asked a question to install F# powerpack and use it here. error FS0078: Unable to find the file 'FSharp.PowerPack.Linq.dll' in any of /Library/Frameworks/Mono.framework/Versions/2.10.2/lib/mono/2.0 /Users/smcho/Desktop/fs/powerpack /Users/smcho/smcho/bin/FSharp-2.0.0.0/bin When I run this command fsc linq.fs /r:FSharp.PowerPack.Linq.dll , I got this error message with mono. It seems that with /r: , the mono F# compiler seems to find the dll in /Library/Frameworks/Mono.framework/Versions/2