xamarin / urho

Code to integrate with the Urho3D engine
Other
462 stars 122 forks source link

Installing UrhoSharp into PCL via nuget #89

Closed Matt-17 closed 7 years ago

Matt-17 commented 8 years ago

On xamarin.com it says I can install Urho via nuget. Also there it says, I can use it in a PCL. But then I get the error: ".NETportable, Version=4.5, Profile=Profile111 is not compatible". Is there any way I can use nuget?

Therzok commented 8 years ago

If I'm not mistaken Profile111 has Windows Phone support, and UrhoSharp does not support Windows Phone.

Therzok commented 8 years ago

Based on this link Urho itself does not support Windows Phone. In this thread it is mentioned that preliminary support to make it happen has been written, but there's no target for Windows Phone to build the native libraries.

Matt-17 commented 8 years ago

Thanks. Now I removed everything that has windows in it (profile 24) and it's also not working :/

But I now added it directly to an Android native project. I will refactor later, when I am doing the iOS part.

Therzok commented 8 years ago

Heya! You can use Profile 7 (windows 8, mac, windows store apps, xamarin ios and xamarin android). Possibly you can't use profile 24 because it uses .NET 4.0, and UrhoSharp is .NET 4.5.

Therzok commented 8 years ago

Oh, and, Profile 24 also uses Silverlight, which is not a supported target.

migueldeicaza commented 8 years ago

So it seems like this is not a bug then?

Perhaps we need to explain this in the documentation?

Therzok commented 8 years ago

Definitely not a bug nuget/deployment. Just not a profile that our PCL supports.

EgorBo commented 8 years ago

We use Profile7 so the package expects your PCL to be the same. (Profile7 is set by default when you create an empty PCL by Visual Studio).