[Mono-list] Running an assembly in Windows
Jared Blake
jared@wingateweb.com
Wed, 21 Apr 2004 16:56:37 -0600
This is a multi-part message in MIME format.
------=_NextPart_000_0058_01C427C1.9C5AE330
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: 7bit
I have a project that I built with MonoDevelop and then compiled using
mcs -r:gtk-sharp,glade-sharp Main.cs -resource:gui.glade
The assembly runs perfectly on Linux but when I bring it over to my
Windows XP box that has .NET on it, I get a System.IO.FileNotFound
exception. I tried putting the gtk-sharp.dll and glade-sharp.dll into my
.NET framework but I still get the error. Is it possible to compile a
program with mono and bring it over to a Windows machine that has .NET
installed on it and run the assembly without doing anything special?
Thanks,
Jared Blake
jared@wingateweb.com
Software Engineer
------=_NextPart_000_0058_01C427C1.9C5AE330
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">
<TITLE>Message</TITLE>
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR></HEAD>
<BODY>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial size=3D2>I have =
a project=20
that I built with MonoDevelop and then compiled =
using</FONT></SPAN></DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial size=3D2>mcs=20
-r:gtk-sharp,glade-sharp Main.cs -resource:gui.glade</FONT></SPAN></DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial size=3D2>The =
assembly runs=20
perfectly on Linux but when I bring it over to my Windows XP box that =
has .NET=20
on it, I get a System.IO.FileNotFound exception. I tried putting the=20
gtk-sharp.dll and glade-sharp.dll into my .NET framework but I still get =
the=20
error. Is it possible to compile a program with mono and bring it over =
to a=20
Windows machine that has .NET installed on it and run the assembly =
without doing=20
anything special?</FONT></SPAN></DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial=20
size=3D2>Thanks,</FONT></SPAN></DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial size=3D2>Jared=20
Blake</FONT></SPAN></DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial size=3D2><A=20
href=3D"mailto:jared@wingateweb.com">jared@wingateweb.com</A></FONT></SPA=
N></DIV>
<DIV><SPAN class=3D828035222-21042004><FONT face=3DArial =
size=3D2>Software=20
Engineer</FONT></SPAN></DIV></BODY></HTML>
------=_NextPart_000_0058_01C427C1.9C5AE330--