always i try to Build my Xamarin app i get this error. And i dont know why. I use the System.Security.dll of .Net Framework 4 and i though this should work. Thanks.
Add the missing .dll to your project(s).
.dll
Right click on the References folder -> Add Reference -> Browse -> C:\Windows\Microsoft.NET\Framework64\\ ->
Clean your project and rebuild
Clean
rebuild