How to reference these packages with Mono in order to compile
Try this: gmcs /reference:System.Drawing.dll /reference:itextsharp.dll Main.cs With newer versions of mono, try this. mcs /reference:System.Drawing.dll /reference:itextsharp.dll Main.cs
Try this: gmcs /reference:System.Drawing.dll /reference:itextsharp.dll Main.cs With newer versions of mono, try this. mcs /reference:System.Drawing.dll /reference:itextsharp.dll Main.cs
I’ve used it for a number of internal and commercial projects with great success. My warnings: Write lots of unit tests and make sure they ALL pass under Mono — this will save you a lot of trouble. Unless you absolutely have to, do NOT use their embedding API. It’s damn easy to use, but … Read more
Turns out simply creating the folder using mkdir sudo mkdir /etc/mono/registry and setting the right permissions using chmod sudo chmod uog+rw /etc/mono/registry does the trick. However I still don’t understand where such a folder is hidden in Ubuntu and why it doesn’t need to be created there, as well as why it isn’t created automatically … Read more
I was running dotnet core on osx and had the same issue. The problem was that I generated a folder using a windows path. When created on disk, it was not visible in Finder due to its naming \Uploads. Do a ls -la and see if there are any strange folders or files in there. … Read more
This was a discussion about this on the Mono mailing list not too long ago. The reasoning they provided is Mono is extremely optimized under Linux (exactly how did not seem to be mentioned). But Mono is not the only variable here, if you are running Mono on Linux. It’s a different OS, different process … Read more
The issue comes from your instantiation of new List(). These also need the generic component: public static List<string> items = new List<string>(); public static List<double> itemsprice = new List<double>(); public static List<double> qu = new List<double>(); That is, there is no type List but there is a generic type List<T>. More information and examples of … Read more
If there is a warning similar to: /lib/mono/4.5/Microsoft.Common.targets: warning : Unable to find framework corresponding to the target framework moniker ‘.NETFramework,Version=v2.0’. Framework assembly references will be resolved from the GAC, which might not be the intended behavior. You can override the .NET Framework on the command line: xbuild /p:TargetFrameworkVersion=”v4.0″ You can change your solution: <TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
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 … Read more
This can be done by changing the state of Monos execution environment on the device; which is just a set of environment variables that alters Monos behaviour (be it garbage collection, logging etc). In this case, to alter the logging behavior we need to modify the values stored in the environment variables MONO_LOG_LEVEL and MONO_LOG_MASK. … Read more
I figured it out. Create a new repository configuration file cd /etc/yum.repos.d vi mono.repo Add the following lines to the file [Mono] name=Mono Stack (RHEL_5) type=rpm-md baseurl=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/ gpgcheck=1 gpgkey=http://ftp.novell.com/pub/mono/download-stable/RHEL_5/repodata/repomd.xml.key enabled=1 Update the YUM cache to be on the safe side yum clean all Install the Mono server stack yum install monotools-addon-server The installed binaries will … Read more