[Mono-list] HelloWorld.cs

Amrit Kohli amrit@wayne.edu
Tue, 12 Oct 2004 22:02:02 -0400


This is a multi-part message in MIME format.

------=_NextPart_000_001F_01C4B0A7.1B552B50
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: 7bit

Nick,

 

That did it.  Thanks for your help.

 

So, are both GTKSharp and GTK covered by the "-pkg:gtk-sharp" argument?

 

Is there somewhere I might look for clear documentation of the assemblies
included with mono v1.0.2?

 

Thanks,

 

Amrit

 

----

Amrit Kohli

amrit@wayne.edu

 

-----Original Message-----
From: Nick Loeve [mailto:mono@trickie.org] 
Sent: Tuesday, October 12, 2004 9:55 PM
To: amrit@wayne.edu
Cc: mono-list@lists.ximian.com
Subject: Re: [Mono-list] HelloWorld.cs

 

Amrit,

I am pretty sure you have to reference all assemblies except for System.

so try:
mcs -pkg:gtk-sharp -r:System.Drawing helloworld.cs



On 13/10/2004, at 11:41 AM, Amrit Kohli wrote:

Nick,

 

I tried this and it appears to have worked.  However, I'm now left with the
following error message:

 

helloworld.cs(7) error CS0246: The namespace `System.Drawing' can not be
found (

missing assembly reference?)

    Try using -r:System.Drawing

Compilation failed: 1 error(s), 0 warnings

 

Any ideas?

 

Amrit

----

Amrit Kohli

amrit@wayne.edu

 

-----Original Message-----
From: mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com] On Behalf Of Nick Loeve
Sent: Tuesday, October 12, 2004 9:38 PM
To: Nick Loeve
Cc: amrit@wayne.edu; mono-list@lists.ximian.com
Subject: Re: [Mono-list] HelloWorld.cs

 

Sorry...

mcs -pkg:gtk-sharp helloworld.cs

typing too quickly ;)
 
 


------=_NextPart_000_001F_01C4B0A7.1B552B50
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html>

<head>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Dus-ascii">


<meta name=3DGenerator content=3D"Microsoft Word 10 (filtered)">

<style>
<!--
 /* Font Definitions */
 @font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
tt
	{font-family:"Courier New";}
p.Quotation, li.Quotation, div.Quotation
	{margin-top:6.0pt;
	margin-right:.7in;
	margin-bottom:6.0pt;
	margin-left:.7in;
	font-size:12.0pt;
	font-family:"Times New Roman";}
span.EmailStyle19
	{font-family:"Courier New";
	color:blue;
	font-weight:normal;
	font-style:normal;
	text-decoration:none none;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>Nick,</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>That did
it.&nbsp; Thanks for your help.</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>So, are =
both GTKSharp
and GTK covered by the &#8220;-pkg:gtk-sharp&#8221; =
argument?</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>Is there
somewhere I might look for clear documentation of the assemblies =
included with
mono v1.0.2?</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>Thanks,</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>Amrit</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>----</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier New";color:blue'>Amrit =
Kohli</span></font></p>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
 style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>amrit@wayne.edu</span></font></p>

</div>

<p class=3DMsoNormal><font size=3D2 color=3Dblue face=3D"Courier =
New"><span
style=3D'font-size:10.0pt;font-family:"Courier =
New";color:blue'>&nbsp;</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D2 =
face=3DTahoma><span
style=3D'font-size:10.0pt;font-family:Tahoma'>-----Original =
Message-----<br>
<b><span style=3D'font-weight:bold'>From:</span></b> Nick Loeve
[mailto:mono@trickie.org] <br>
<b><span style=3D'font-weight:bold'>Sent:</span></b> </span></font><font =
size=3D2 face=3DTahoma><span =
style=3D'font-size:10.0pt;font-family:Tahoma'>Tuesday,
 October 12, 2004</span></font><font size=3D2 face=3DTahoma><span =
style=3D'font-size:
10.0pt;font-family:Tahoma'> </span></font><font size=3D2 =
face=3DTahoma><span
 style=3D'font-size:10.0pt;font-family:Tahoma'>9:55 =
PM</span></font><font size=3D2
face=3DTahoma><span style=3D'font-size:10.0pt;font-family:Tahoma'><br>
<b><span style=3D'font-weight:bold'>To:</span></b> amrit@wayne.edu<br>
<b><span style=3D'font-weight:bold'>Cc:</span></b> =
mono-list@lists.ximian.com<br>
<b><span style=3D'font-weight:bold'>Subject:</span></b> Re: [Mono-list] =
HelloWorld.cs</span></font></p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><font size=3D3 =
face=3D"Times New Roman"><span
style=3D'font-size:12.0pt'>&nbsp;</span></font></p>

<p class=3DMsoNormal =
style=3D'margin-right:0in;margin-bottom:12.0pt;margin-left:
.5in'><font size=3D3 face=3D"Times New Roman"><span =
style=3D'font-size:12.0pt'>Amrit,<br>
<br>
I am pretty sure you have to reference all assemblies except for =
System.<br>
<br>
so try:<br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>mcs =
-pkg:gtk-sharp
-r:System.Drawing helloworld.cs<br>
<?/bigger><?/bigger><?/fontfamily><br>
<br>
<br>
On </span></font>13/10/2004, at 11:41 AM, Amrit Kohli wrote:</p>

<p class=3DMsoNormal style=3D'margin-left:.5in'><tt><?fontfamily><?param =
Courier New><?color><?param 0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Nick,</span></font><?/x-tad-smaller><?/color><=
?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;</span></font><?/x-tad-smaller><?/color>=
<?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>I tried =
this and it
appears to have worked.&nbsp; However, I&#8217;m now left with the =
following
error =
message:</span></font><?/x-tad-smaller><?/color><?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;</span></font><?/x-tad-smaller><?/color>=
<?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>helloworld.cs(7) error
CS0246: The namespace `System.Drawing' can not be found =
(</span></font><?/x-tad-smaller><?/color><?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>missing =
assembly
reference?)</span></font><?/x-tad-smaller><?/color><?/fontfamily></tt><br=
>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;&nbsp;&nbsp; Try
using =
-r:System.Drawing</span></font><?/x-tad-smaller><?/color><?/fontfamily></=
tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Compilation failed: 1
error(s), 0 =
warnings</span></font><?/x-tad-smaller><?/color><?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;</span></font><?/x-tad-smaller><?/color>=
<?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>Any =
ideas?</span></font><?/x-tad-smaller><?/color><?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;</span></font><?/x-tad-smaller><?/color>=
<?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>Amrit</span></font><?/x-tad-smaller><?/color><=
?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>----</span></font><?/x-tad-smaller><?/color><?=
/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span style=3D'font-size:10.0pt'>Amrit =
Kohli</span></font><?/x-tad-smaller><?/color><?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>amrit@wayne.edu</span></font><?/x-tad-smaller>=
<?/color><?/fontfamily></tt><br>
<br>
<tt><?fontfamily><?param Courier New><?color><?param =
0000,0000,FFFE><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;</span></font><?/x-tad-smaller><?/color>=
<?/fontfamily></tt><br>
<br>
<?x-tad-bigger>-----Original Message-----<br>
<?/x-tad-bigger><b><?x-tad-bigger><span =
style=3D'font-weight:bold'>From:</span><?/x-tad-bigger></b><?x-tad-bigger=
>
mono-list-admin@lists.ximian.com =
[mailto:mono-list-admin@lists.ximian.com] <b><?x-tad-bigger><span
style=3D'font-weight:bold'><?/x-tad-bigger>On Behalf Of =
</span><?/x-tad-bigger></b><?x-tad-bigger>Nick
Loeve<br>
<?/x-tad-bigger><b><?x-tad-bigger><span =
style=3D'font-weight:bold'>Sent:</span><?/x-tad-bigger></b><?x-tad-bigger=
>
 Tuesday, October 12, 2004 9:38 PM<br>
<?/x-tad-bigger><b><?x-tad-bigger><span =
style=3D'font-weight:bold'>To:</span><?/x-tad-bigger></b><?x-tad-bigger>
Nick Loeve<br>
<?/x-tad-bigger><b><?x-tad-bigger><span =
style=3D'font-weight:bold'>Cc:</span><?/x-tad-bigger></b><?x-tad-bigger>
amrit@wayne.edu; mono-list@lists.ximian.com<br>
<?/x-tad-bigger><b><?x-tad-bigger><span =
style=3D'font-weight:bold'>Subject:</span><?/x-tad-bigger></b><?x-tad-big=
ger>
Re: [Mono-list] HelloWorld.cs<br>
<?/x-tad-bigger><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>&nbsp;<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>Sorry...<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>mcs =
-pkg:gtk-sharp
helloworld.cs<br>
<?/bigger><?/bigger><?/fontfamily><br>
<?fontfamily><?param Times New Roman><?bigger><?bigger>typing too =
quickly ;)<br>
<?/bigger><?/bigger><?/fontfamily><?fontfamily><?param Times New =
Roman><?bigger><?bigger>&nbsp;<br>
<?/bigger><?/bigger><?/fontfamily><tt><?fontfamily><?param Courier =
New><?x-tad-smaller><font
size=3D2 face=3D"Courier New"><span =
style=3D'font-size:10.0pt'>&nbsp;</span></font><?/x-tad-smaller><?/fontfa=
mily></tt></p>

</div>

</body>

</html>

------=_NextPart_000_001F_01C4B0A7.1B552B50--