[Mono-aspnet-list] Can I use a DLL compiled for Mono with gmcs on Windows ASP.Net?

Peter Newhook peter.newhook at gmail.com
Wed Jan 23 20:32:00 UTC 2013


On 1/23/2013 12:47 PM, don rhummy wrote:
> Thanks. I thought you couldn't because I'd read (at least going from 
> ASP.Net on Windows to Mono) you needed this 
> tool: http://mono-project.com/MoMA
>
> Is that tool just for desktop .Net apps?
>
> ------------------------------------------------------------------------
> *From:* Daniel Lo Nigro <lists at dan.cx>
> *To:* don rhummy <donrhummy at yahoo.com>
> *Cc:* "mono-aspnet-list at lists.ximian.com" 
> <mono-aspnet-list at lists.ximian.com>
> *Sent:* Wednesday, January 23, 2013 10:01 AM
> *Subject:* Re: [Mono-aspnet-list] Can I use a DLL compiled for Mono 
> with gmcs on Windows ASP.Net?
>
> Yes, you can use assemblies compiled with Mono on Microsoft.NET, and 
> vice versa. You do not need to recompile at all.
>
>
> On Thu, Jan 24, 2013 at 1:50 AM, don rhummy <donrhummy at yahoo.com 
> <mailto:donrhummy at yahoo.com>> wrote:
>
>     I have a DLL that I compiled using gmcs (see below) and I want to
>     use it in ASP.Net run on Windows (not Mono). Can I do this? Do I
>     need to recompile it? If so, what would I need to do that?
>
>     The command I used was:
>
>     sudo gmcs /t:library /out:dbhandler.dll -r:System -r:System.Data
>     -r:System.Web -r:System.Configuration dbhandler.cs
>     <http://dbhandler.cs/>
>
>     The namespaces it uses:
>
>     using System;
>     using System.Data.SqlClient;
>     using System.Data;
>     using System.Configuration;
>     using System.Collections;
>     using System.Collections.Generic;
>
>     _______________________________________________
>     Mono-aspnet-list mailing list
>     Mono-aspnet-list at lists.ximian.com
>     <mailto:Mono-aspnet-list at lists.ximian.com>
>     http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
>
>
>
>
> _______________________________________________
> Mono-aspnet-list mailing list
> Mono-aspnet-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
MoMA determines if an application or library can be run
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-aspnet-list/attachments/20130123/6ac0a98f/attachment.html>


More information about the Mono-aspnet-list mailing list