After upgrading my visual studio 2017 to 15.2v (26430.12)
Xamarin.Android SDK 7.3.1.2 (9dbc4c5)
Can't use the debugger anymore. The project builds successfully and deployment finishes but then this error happens:
Could not load file or assembly Mono.Posix
Full error message:
This is a Known Issue. The root cause is lacking of Mono.Posix.dll
file under C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\Common7\IDE\Extensions\Xamarin.VisualStudio\
.
So, to fix the problem, you can download the dll file from attached file and copy it to the up mentioned location.
Elvis' answer is correct. However in addition to copying the file Mono.Posix.dll to the correct location, you also need to unblock the file by right clicking on the file, selecting properties and checking the unblock box. After that you need to restart Visual Studio.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With