Forum Libraries, Components, and Plugins

How create a cocosSharp project in xamarin V6 ?

Im new in xamarin studio and im trying to create a cocosproject following the official guide, but this document is not very clear and my project have so many errors.

https://developer.xamarin.com/guides/xamarin-forms/advanced/cocossharp/#nuget

I've created a xamarin.form with IOS, android and PCL as guide say

I've added the cocosSharp packages to IOS and Android projects

BUT

if i don't add the cocosSharp package to PCL target, the cocos Classes cant be found by the code

And if I try to add the cocosSharp packages to PCL, console show this

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.

i tried to change the targetFramework but this don't help me

if someone work with cocosSharp and xamarin studio V6, please how can i solve this ?

Or how can i add the add in of cocosSharp in Galery like in previous versions of xamarin ?

Answers

  • NashZhouNashZhou USMember ✭✭✭

    Idk if this person is still looking for help, but I would edit the options for the PCL, go to General, and change the Current Profile to PCL 4.5 - Profile 111.

Sign In or Register to comment.