[Mono-list] The assembly mscorlib.dll was not found or could not be loaded

Robert Jordan robertj at gmx.net
Tue May 13 12:06:22 UTC 2014


On 13.05.2014 11:28, cocowalla wrote:
> I've discovered that mono is using mscorlib from `\lib\mono\4.5`, rather than
> `\lib\mono\4.0`.
>
> Now, `xbuild` is in `\lib\mono\4.5`, but my project targets .NET 4.0. Any
> ideas as to what is going on here?


Try to preset a specific runtime version while running on the
slimmed down Mono:

mono --runtime=v4.0.30128 ...

or

mono --runtime=v4.0.20506 ...

Robert




More information about the Mono-list mailing list