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

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Apr 13 15:19:26 UTC 2012


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


More information about the Monodevelop-list mailing list