Comment 2 for bug 61670

Revision history for this message
Philipp A. Baer (phbaer) wrote :

Ok, I've had a look at the problem again. It seems that this is the problem:

Compile a piece of code (Hello World, for example) with a library reference, i.e.
# gmcs -r:MDTTools.dll test.cs

If the referenced library is not in the GAC but in the MONO_PATH, gmcs dies with the error message mentioned above. Using the absolute path for the library fixes this problem.

It seems that the new shadow copy mechanism only searches the GAC but does not take care of the MONO_PATH... don't actually know what it should do, but with mono 1.1.16.1 everything works just fine.

Maybe a bug report on mono-dev would be more appropriate?