[Mono-dev] Assembly Mono.Cecil not found while compiling

Robert Jordan robertj at gmx.net
Fri Feb 17 20:15:40 EST 2006


Hey,

>         I installed Mono and Cecil. Tried to compile a sample application
> using Mono.Cecil. But the mcs compiler is giving error messages that it
> cannot find Mono.Cecil.
> 
>         I installed Mono.Cecil.dll into the GAC successfully. Generated a
> key and recompiled Mono.Cecil.dll.sources with the -keyfile:mykey.snkoption.

Since Cecil is a package, you don't need to mess with the GAC. Just
apply the -pkg option to mcs:

mcs -pkg:mono-cecil ...

Robert




More information about the Mono-devel-list mailing list