[Mono-list] Fw: [Mono-cvs-list] Mono CVS: mcs gvaish

Nick Drochak ndrochak@gol.com
Sat, 26 Jan 2002 18:18:27 +0900


Gaurav,

OK, I got it.  I had two problems (well three if you include 'being
stupid'). First as you pointed out I wasn't giving it a proper enum
type.  Second, I forgot that XP puts itself in WINDOWS and not WINNT.

If I give your tool a proper path and a proper enum, it works.

Sorry for the false alarm,
Nick D

> -----Original Message-----
> From: mono-list-admin@ximian.com 
> [mailto:mono-list-admin@ximian.com] On Behalf Of Gaurav Vaish
> Sent: Saturday, January 26, 2002 4:46 PM
> To: Nick Drochak; mono-list@ximian.com
> Subject: Re: [Mono-list] Fw: [Mono-cvs-list] Mono CVS: mcs gvaish
> 
> 
> Hello Nick,
>     I am attaching (inline) the output that I got using the 
> "System.Text.Encoding" as entry which, btw, is not an enumeration.
>     Anyway, it should not give a "not found" exception. Just 
> recheck your path where you've installed the libraries, since 
> it checks the dll's in the directory specified. If it works, 
> I'll modify the program to be able to take the base directory 
> from a conf file.
> 
> 
> Cheers,
> Gaurav Vaish
> ----------------------------
> 
> 
> 
> gvaish@MASTER /cygdrive/d/GoMono/mcs/tools
> $ csc /nologo EnumCheck.cs
> 
> gvaish@MASTER /cygdrive/d/GoMono/mcs/tools
> $ ./EnumCheck.exe
> Enter directory to search assemblies
> [C:\WINNT\Microsoft.NET\Framework\v1.0.3705]:
> Enter the name of the Enumeration (end to stop): System.Text.Encoding
> -->Failed to load the enumeration: System.Text.Encoding
> 
> Enter the name of the Enumeration (end to stop):
> 
> ----- Original Message -----
> From: "Nick Drochak" <ndrochak@gol.com>
> To: "'Gaurav Vaish'" <gvaish@iitk.ac.in>; <mono-list@ximian.com>
> Sent: Saturday, January 26, 2002 12:12
> Subject: RE: [Mono-list] Fw: [Mono-cvs-list] Mono CVS: mcs gvaish
> 
> 
> : Gaurav,
> :
> : It still doesn't work for me.  Here's my session:
> :
> : Nick@SCREAM-II ~/mcs/tools
> : $ ./EnumCheck.exe
> : Enter directory to search assemblies
> : [C:\WINNT\Microsoft.NET\Framework\v1.0.3705]:
> : Enter the name of the Enumeration (end to stop): 
> System.Text.Encoding
> :
> : Unhandled Exception: System.IO.FileNotFoundException: File 
> or assembly
> : name msco
> 
> 
> 
> _______________________________________________
> Mono-list maillist  -  Mono-list@ximian.com 
> http://lists.ximian.com/mailman/listinfo/mono-> list
> 
>