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 <[email protected]> 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
>
> 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
> [email protected]
> http://lists.ximian.com/mailman/listinfo/mono-aspnet-list
>
>
_______________________________________________
Mono-aspnet-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-aspnet-list

Reply via email to