1

I am trying to make a Windows app in Mac using MonoDevelop, but when I try to use it on Windows I get this error

Could not load file or assembly "Mono.posix"

error Does anyone know how to fix this? I've tried putting the file mono.posix.dll in the same folder, but that still didnt fix it.

Chris Loonam
  • 5,735
  • 6
  • 41
  • 63

1 Answers1

2

It looks like your application has a dependency on the Mono.Posix assembly.

This assembly is deprecated in favor of Mono.Unix. Since the latter is not available for Windows systems, my best guess is that the former also wasn't.

You would have to remove the dependency on that assembly (possibly rewriting parts of your app) if you want it to run on Windows.

Frédéric Hamidi
  • 258,201
  • 41
  • 486
  • 479