[Mono-list] Incorrect path interpretation(gacutil)
rafael.teixeirabr at terra.com.br
Mon Jan 15 09:49:07 EST 2007
It is probably getting confused on parsing options.
In your case it really gets confused because you have separated /i from
it's argument (the path to the library) with the unnecessary -f. Try:
mono "/usr/lib/mono/lib/mono/1.0/gacutil.exe" -i
It should work.
Try gacutil -? (or --help), to see the somewhat expanded list of options
Mono's implementation has, and also the unsupported ones.
On Sun, 2007-01-14 at 23:09 -0800, monoport wrote:
> Is there a bug in the gacutil on UNIX or my misunderstanding of the UNIX
> I have used to produce such a command line:
> mono "/usr/lib/mono/lib/mono/1.0/gacutil.exe" -i -f
> And got the response:
> Option /root/XXX/XXX/XXX/Assembly.dll takes 1 argument
> >From my point of view there is a bug because of misinterpretation of the '/'
> simbol in the assembly path.
> When I remove the starting slash I get
> Failure adding assembly to the cache: The system cannot find the file
> In this case, probably, the relative path is assumed(therefore doesn't
> My OS is SUSE Linux 10.1
> Mono JIT compiler version 188.8.131.52, (C) 2002-2006 Novell, Inc and
> Contributors. www.mono-project.com
> (Updated via YaST)
> Problem doesn't exist in the Windows compilation of this version of mono(in
> Windows path isn't starting with a slash).
> Is threre anything I can do?
> Because I have ~15 of assemblies I have to place in GAC and the installation
> program is used
> to perform the automated registration fails to do the job.
> Thank you.
More information about the Mono-list