[Mono-list] errors running monodoc browser via xsp
Gonzalo Paniagua Javier
reply.to.the.list.iam.suscribed@notexists.ximian.com
Thu, 05 May 2005 01:24:01 -0600
On Mon, 2005-05-02 at 02:54 -0700, monomail@huntington-bradley.com
wrote:
> I've managed to compile and install libgdiplus, mono, gtk-sharp, monodoc, and
> xsp from the source tarballs (on Ubuntu 5.04). Hey, perhaps I can get away
> from Windows some day soon!
>
> I can run monodoc (gtk# version) just fine, also can run the xsp test pages ok.
>
> However, when I try to run the xsp version of monodoc I get a compilation error
> "can not find assembly 'monodoc'" I have run ldconfig as su after installing
> monodoc. Is there something else I'm supposed to do to tell xsp where to find
> the Monodoc.dll (which does exist in the gac folder that now exists in
> /usr/local/lib/mono/gac/monodoc/1.0.0__blahblahblah)
The problem is that mcs knows nothing about the GAC. Possible fixes
include copying monodoc.dll (linking) to lib/mono/1.0, copying it to the
bin directory or adding a 'CompilerOptions="-pkg:monodoc"' to the ashx
directive.
-Gonzalo