nant/nant — pull request #15 by krabicezpapundeklu (2011-12-29 10:21:57+00:00)
Title: Throw inner LoaderException in case of ReflectionTypeLoadException.

Hi,
When scanning extension assemblies for types `ReflectionTypeLoadException` exception can occur (missing reference for example).
In that case we get message similar to this:

* [loadtasks] Failure scanning "something" for extensions. Unable to load one or more of the requested types. Retrieve the LoaderExceptions property for more information.

My change uses that `LoaderExceptions` property, so the message looks like this:

* [loadtasks] Failure scanning "something" for extensions. Could not load file or assembly 'Interop.MsmMergeTypeLib, Version=2.0.0.0, Culture=neutral,PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.

Let me know, if there's something to change in this commit.

Thanks,
krabicezpapundeklu