Reverted to .net 4.0 due to xamarine compatibility