mono

What is the difference between a MonoDevelop solution file and a Visual Studio Solution file?

MonoDevelop allows you to save your solution in either MonoDevelop format or Visual Studio format. What is the difference between these two formats? Are they different ways or storing the same thing? If not, what does one store that the other does not? ...

DLL Config in Mono

Hi, I'm trying to pick up Svn.NET (http://www.pumacode.org/projects/svndotnet/) library for use in my Mono project. I tried compiling its mockapp -> svnmockapp project (http://www.pumacode.org/projects/svndotnet/browser/trunk/SvnMockApp) , I am able to get the references right and get it compiled right. I understand that it references ...

How to debug a Mono project that builds but can't run?

How do I debug a mono project? I can't seem to run it. It builds perfectly. But running it is another issue altogether. This is the output from running it. $ mono SvnTest.exe update Stacktrace: at (wrapper managed-to-native) System.Runtime.InteropServices.Marshal.PtrToStringAnsi (intptr) <0x00045> at (wrapper managed-to-native) Sy...

SVNException unable to rename file when using SVNKit in a ikvmc-ed library in C#

Hi, I used ikvmc to compile svnkit to a C# (dll) library and linked it as a reference to my project. I tried a proof of concept code to checkout: public void checkOut(Dictionary<string,List<object>> tokens) { string url_str = (string) tokens["checkout"][0]; setupLibrary(); java.io.File path = new ja...

Mono GetText on .NET 3.5

Hi I have a problem with my app, using gtk# and Mono/.NET 3.5 MonoDevelop (which im using) under Linux shows all strings to translation, but monodevelop on windows - shows nothing. is there a way to make it work or is any another cross-platform solution to add multi-language to it? thanks in advance ...

What do these properties mean in Mono.Cecil?

I am using Lokad shared libraries, which in turn depends on Mono.Cecil. I am a little confused what the following properties mean (they are to do with .NET internals and thus have equivalent .NET internals): PackingSize (they are to do with types as it is in TypeDefinition). Mvid (in ModuleDefinition). ExplicitThis (something to do wi...

Serverside cleanup after C# remoting

I have a somewhat simple Client/Server solution running over C# remoting (System.Runtime.Remoting). The MarshalByRef object, which is used for the actual communication, however troubles me. In its constructor it starts up an external process and adds the OutputDataReceived eventhandler. Every 2 seconds the process will write data to i...

How to test Subversion functions?

Hi, I am implementing an application that involves some svn functions. I'm gonna write some unit tests for the app, however, how would you suggest I write unit tests for svn commands such as checkout, update, status, etc? Thanks! ...

Redirect assemblies in Mono?

Hello, I have recently discovered that I am affected by this bug http://www.mail-archive.com/[email protected]/msg71515.html Well, at http://www.mail-archive.com/[email protected]/msg71529.html they say the work around is to create a global policy assembly and redirect the assemblies that way since it is not read from ...

SparkView Engine on Linux Mono

I'm trying to use SparkView engine with ASP.NET MVC running on a Linux machine, but there seems to be known problems resolving view paths eg: System.InvalidOperationException: The view 'Index' or its master could not be found. The following locations were searched: ~/Views/Home/Index.aspx ~/Views/Home/Index.ascx ~/Views/Shared/Index.asp...

How do I programatically get a large iPad window on startup with 1.9 MonoTouch?

I have the latest Ipad compatible Monotouch library. I have upgraded my projects to use 3.2 SDK and MonoTouch 1.9 Alpha. The docs say you need to change the Window in your XIB for the large iPad Window. I don't use XIB. I build my interface from code by constructing the object programatically. What should I be doing to get the large iPa...

Apache Mod Mono (mod_mono) performance?

What is the performance like when using Apache mod_mono compared to IIS 6 or 7? Does the mod-mono-server that receives the requests from mod_mono have the ability to thread incoming requests or does it act more like a CGI program? I also see that the mono project comes with a web server bundled with it. Is this web server considered a d...

Trouble with deserialization in mono

Anyone have any idea why the following XML generated by a data contract serializer in C# works just fine in Windows but not under Linux on Mono? The XML: <Message i:type="UserMessage" xmlns="http://schemas.datacontract.org/2004/07/NetTunnel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"&gt;&lt;type&gt;UserMessage&lt;/type&gt; <ni...

XSP2 crashes serving static images

Hi, Requesting a simple HTML page with a jpg image makes XSP2 crash. If I remove the image from the HTML then the page is served OK all the time. The version is XSP2 2.0 mono 2.6.1. the version 2.4.2.2 in the same machine works fine. I have tested it in two different machines, both Windows Vista Business SP1. Anyone has experienced ...

Workaround for the Mono PrivateFontCollection.AddFontFile bug

When I call the PrivateFontCollection.AddFontFile method in Mono.net It always returns a standard font-family. This bug has already been reported on several websites, but as far as I know without a way to solve it. The bug itself isn't fixed in the Mono-libraries yet. Is there any workaround for it? EDIT: As a reaction on henchman's ans...

How do I add a .NET Runtime in Edit->Prefrences?

Ok I am using Windows and have .Net 3.5 and the Mono 2.6 frameworks installed. I also have installed MonoDevelop and plan on using it. I just need to know if I am setup to use the Mono runtime. All my projects have build options for Mono/Microsoft.NET 3.5, but in Edit->Prefrences->.NET Runtimes, all I see is Microsoft.NET. How do I add...

Using mod_mono on Solaris 10 - UNIX

Hi, I'm trying to get / compile / install mod_mono for Apache 2.2.4 on Solaris 10. Apache Version: Apache/2.2.4 (Unix) [/]# uname -a SunOS wexch 5.10 Generic_118855-36 i86pc i386 i86pc I have blastwave installed (blastwave.org), and am a little disappointed that it doesn't have a mod_mono package, or include mod_mono with other pack...

Debugger constantly throws an exception?

I am trying to move our projects over to use MonoDevelop, as we have been having a very bad experience with Visual Studio. Anyways, when ever we go to debug an application, we get a TargetInvocationException and asked to Ignore, Retry, Abort. Clicking anything other than abort just re-throws the exception and on clicking abort forces Mo...

Can't send mails via SMTP with mod_mono

greetings, I have been trying to send emails using this source code string nome = receiverName; string email = receiver; string assunto = subject; string mensagem = message; string body = Common.GenerateBody(message); System.Net.Mail.MailAddress _sender= new MailAddress(sender, "T-Shirt da Gata"); System.Net.Mail.MailAddress _receive...

What BDD Frameworks are people using with Mono/MonoDevelop

I want to start using Behaviour Driven Development (BDD) in Mono/MonoDevelop using a natural language approach like Cucumber or SpecFlow. Is anyone doing this and, if so, what have they used and was it straightforward to set up. Thanks Neil ...