[MonoDevelop] Could not load file or assembly 'Mono.Posix' (Windows-specific Error)

Lluis Sanchez Gual slluis.devel at gmail.com
Tue Apr 17 10:34:03 UTC 2012


This should be fixable with a binding redirect from Mono.Posix 4.0.0.0 to 2.0.0.0 in app.config.

El 13/04/2012, a les 17:19, Michael Hutchinson va escriure:

> On 12 April 2012 11:48, Joshua Granick <bulkmail at joshuagranick.com> wrote:
>> I am experiencing an error only on Windows. Is this an issue with
>> MonoDevelop, or should I do something differently when I create my add-in?
>> 
>> Whenever I attempt to access something that uses GTK#, it throws an error
>> for not being able to find Mono.Posix. If I understand things correctly,
>> this library is required to use GTK#, and is a part of the core libraries.
>> Shouldn't MonoDevelop be able to resolve a path to the library?
>> 
>> 
>>        System.IO.FileNotFoundException: Could not load file or assembly
>> 'Mono.Posix, Version=4.0.0.0, Culture=neutral,
>> PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system
>> cannot find the file specified
>> 
>> 
>> This does not occur on OS X or Linux... it only occurs on Windows 7. Thank
>> you for your help!
> 
> https://bugzilla.xamarin.com/show_bug.cgi?id=1947
> 
> Summary: if you build an addin on .NET, it'll work everywhere. If you
> build it on Mono, it'll only work on Mono.
> 
> -- 
> Michael Hutchinson
> http://mjhutchinson.com
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list