[Mono-devel-list] Monodoc Web Application Problems
met at uberstats.com
Thu Jul 15 09:09:52 EDT 2004
On Wed, 2004-07-14 at 23:13, Gonzalo Paniagua Javier wrote:
> El miÃ©, 14-07-2004 a las 22:46, MET escribiÃ³:
> > I'm trying to get the monodoc web application to work without any luck.
> > I have mod-mono-server.exe running via Apache2 just fine as it serves
> > other applications.
> > So what I've done is copy the web directory from within monodoc/browser
> > into a html directory and set it up fine within httpd.conf. I then
> > point my browser to it and the page dies with errors.
> > ===
> > Description: Error compiling a resource required to service this
> > request. Review your source file and modify it to fix this error.
> > Error message: /tmp/35897.cs(28,0) : error CS0246: Cannot find type
> > `RootTree' /tmp/35897.cs(21,0) : error CS0246: The namespace `Monodoc'
> > can not be found (missing assembly reference?) (0,0) : error failed: 2
> > error(s), 0 warnings
> > ===
> > I have monodoc installed on the machine (it even works through X
> > forwarding) and $PKG_CONFIG_PATH is also setup.
> The problem here is that, yes, monodoc is there in the GAC, but unless
> told otherwise, mcs and asp.net compilation classes don't know anything
> about it.
> Possible solutions are:
> * Copy your monodoc.dll in bin.
> * Copy monodoc.dll to $PREFIX/lib/mono/1.0 and add a @assembly in
> the pages you want (mcs will be able to find it when
> -r:monodoc.dll is provided)
> * Add a CompilationOptions="-pkg:monodoc" attribute to your page.
> I prefer the first one.
So I've done the first and it certainly got past that error, thank you.
As GAC seems so vital, why would/should asp.net be unaware to look in
Either way, I've now gottena FileNotFoundException:
System.Reflection.TargetInvocationException: Exception has been thrown
by the target of an invocation. ---> System.TypeInitializationException:
An exception was thrown by the type initializer for
System.IO.FileNotFoundException: Could not find file "/monodoc.xml".
What needs to be done so that it looks in /usr/lib/monodoc/ for the
required files of monodoc, or do I need to just copy them somewhere
Thanks in advance,
More information about the Mono-devel-list