I created a xamarin.forms project in visual studio 2017, then I tried to add cocossharp.forms using nuget and I got this error:
Could not install package 'CocosSharp 1.7.1'. You are trying to install this package into a project that targets '.NETPortable,Version=v4.5,Profile=Profile259', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.
It seems I got the same error in create a cocossharp project in xamarin, but the answer provided is for xamarin studio and I don't know how to apply that to visual studio.