[Mono-list] HelloWorld.cs

Nick Loeve mono@trickie.org
Wed, 13 Oct 2004 11:54:55 +1000


--Apple-Mail-4--933788636
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=WINDOWS-1252;
	format=flowed

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,
>
> =A0
>
> I tried this and it appears to have worked.=A0 However, I=92m now left=20=

> with the following error message:
>
> =A0
>
> helloworld.cs(7) error CS0246: The namespace `System.Drawing' can not=20=

> be found (
>
> missing assembly reference?)
>
> =A0=A0=A0 Try using -r:System.Drawing
>
> Compilation failed: 1 error(s), 0 warnings
>
> =A0
>
> Any ideas?
>
> =A0
>
> Amrit
>
> ----
>
> Amrit Kohli
>
> amrit@wayne.edu
>
> =A0
>
> -----Original Message-----
> From: mono-list-admin@lists.ximian.com=20
> [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
>
> =A0
>
> Sorry...
>
>  mcs -pkg:gtk-sharp helloworld.cs
>
>  typing too quickly ;)
>  =A0
> =A0

--Apple-Mail-4--933788636
Content-Transfer-Encoding: quoted-printable
Content-Type: text/enriched;
	charset=WINDOWS-1252

Amrit,


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


so try:

<fontfamily><param>Times New Roman</param><bigger><bigger>mcs
-pkg:gtk-sharp -r:System.Drawing =
helloworld.cs</bigger></bigger></fontfamily>




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


<excerpt><fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>Nick,</x-tad=
-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>=A0</x-tad-s=
maller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>I
tried this and it appears to have worked.=A0 However, I=92m now left =
with
the following error =
message:</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>=A0</x-tad-s=
maller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>helloworld.c=
s(7)
error CS0246: The namespace `System.Drawing' can not be found =
(</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>missing
assembly reference?)</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>=A0=A0=A0
Try using -r:System.Drawing</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>Compilation
failed: 1 error(s), 0 =
warnings</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>=A0</x-tad-s=
maller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>Any
ideas?</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>=A0</x-tad-s=
maller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>Amrit</x-tad=
-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>----</x-tad-=
smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>Amrit
Kohli</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>amrit@wayne.=
edu</x-tad-smaller></color></fontfamily></fixed>


<fixed><fontfamily><param>Courier =
New</param><color><param>0000,0000,FFFE</param><x-tad-smaller>=A0</x-tad-s=
maller></color></fontfamily></fixed>


<x-tad-bigger>-----Original Message-----</x-tad-bigger>

<bold><x-tad-bigger>From:</x-tad-bigger></bold><x-tad-bigger>
mono-list-admin@lists.ximian.com
[mailto:mono-list-admin@lists.ximian.com]
</x-tad-bigger><bold><x-tad-bigger>On Behalf Of
</x-tad-bigger></bold><x-tad-bigger>Nick Loeve</x-tad-bigger>

<bold><x-tad-bigger>Sent:</x-tad-bigger></bold><x-tad-bigger> Tuesday,
October 12, 2004 9:38 PM</x-tad-bigger>

<bold><x-tad-bigger>To:</x-tad-bigger></bold><x-tad-bigger> Nick =
Loeve</x-tad-bigger>

<bold><x-tad-bigger>Cc:</x-tad-bigger></bold><x-tad-bigger>
amrit@wayne.edu; mono-list@lists.ximian.com</x-tad-bigger>

<bold><x-tad-bigger>Subject:</x-tad-bigger></bold><x-tad-bigger> Re:
[Mono-list] HelloWorld.cs</x-tad-bigger>


<fontfamily><param>Times New =
Roman</param><bigger><bigger>=A0</bigger></bigger></fontfamily>


<fontfamily><param>Times New =
Roman</param><bigger><bigger>Sorry...</bigger></bigger></fontfamily>


<fontfamily><param>Times New Roman</param><bigger><bigger> mcs
-pkg:gtk-sharp helloworld.cs</bigger></bigger></fontfamily>


<fontfamily><param>Times New Roman</param><bigger><bigger> typing too
quickly ;)</bigger></bigger></fontfamily>

<fontfamily><param>Times New Roman</param><bigger><bigger> =
=A0</bigger></bigger></fontfamily>

<fixed><fontfamily><param>Courier =
New</param><x-tad-smaller>=A0</x-tad-smaller></fontfamily></fixed>

</excerpt>=

--Apple-Mail-4--933788636--