[CSHARP-73] Compile in mono Created: 16/Oct/10  Updated: 02/Apr/15  Resolved: 06/Mar/11

Status: Closed
Project: C# Driver
Component/s: None
Affects Version/s: 0.5
Fix Version/s: 1.0

Type: Improvement Priority: Major - P3
Reporter: Justin Dearing Assignee: Sridhar Nanjundeswaran
Resolution: Done Votes: 1
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

All



 Description   

It would be nice if the driver worked in mono. I don't think it would be that hard.

Steps
1. Get to compile on windows with MonoDevelop
2. Get to compile on linux with MonoDevelop
3 Add to build bot.

Naturally there is a chance this will just work and a chance we might need to do some #ifdefs to prevent mono's limitations from forcing us to reduce the performance of the driver on windows.

As far as market, I think there is not much of a Mono XSP (ASP.NET) market, but there are some mono apps written primarly for linux/X11.



 Comments   
Comment by Robert Stam [ 06/Mar/11 ]

Closed as the driver now compiles cleanly under Mono.

A few unit tests are failing under Mono but there are other tickets for them.

Comment by Justin Dearing [ 06/Mar/11 ]

Why is this ticket still open? If there are specific problems can we make child tickets for them?

Comment by Sridhar Nanjundeswaran [ 28/Feb/11 ]

The latest driver source now compiles on MonoDevelop 2.4 on
1) Windows 7
2) Mac OS X Snow Leopard

Comment by Justin Dearing [ 25/Feb/11 ]

There are some failed tests in NUnit, but it compiles and I wrote a working demo that ran in mono developer. I think this ticket can be closed.

Demo app https://github.com/zippy1981/CodeCampNYC_Mongo/tree/suse_monoDevelop

Tested on Ubunto netbook remox and the Open Suse mono VM.

Comment by Jubaraj Borgohain [ 30/Nov/10 ]

MonoDevelop: 2.4.1
Operating System: Windows 7 Ultimate x64
NUnit: 2.5.8.10295

Opened both VS2008 and VS2010 solution files in monodevelop. Compiled with NO errors but had 15 warnings. Ran tests for both debug and release using NUnit. All tests successful.

Comment by Robert Stam [ 15/Nov/10 ]

Compiled and ran unit tests in Mono under Ubuntu 10.10 and all unit tests work (after some minor changes). Not closing yet because only tested under Ubuntu.

Generated at Wed Feb 07 21:35:43 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.