SpriterDotNet icon indicating copy to clipboard operation
SpriterDotNet copied to clipboard

Adding SpriterDotNet to an Android project

Open Wompuz opened this issue 5 years ago • 5 comments

When adding the SpriterDotNet.MonoGame NuGet package to an Android project I get the following error:

Could not install package 'Microsoft.NETCore.Jit 1.0.2'. You are trying to install this package into a project that targets 'MonoAndroid,Version=v8.1', 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.

Is it possible to update the NuGet package to work with these kinds of projects?

Wompuz avatar Dec 28 '18 21:12 Wompuz

I also verified this. What I also did was try to include the NuGet package references in the SpriterDotNet.Example.MonoGame.Android project which results in the same error.

The reason this works in the Spriter Example projects is because they are added through a project reference. That way the .Jit project is never included as it is not actually being used.

devedse avatar Dec 29 '18 19:12 devedse

Created a fix for this: https://github.com/loodakrawa/SpriterDotNet/pull/103

devedse avatar Dec 29 '18 20:12 devedse

In the meanwhile I created some NuGet packages for this to solve it while this is not merged:

image

Once this is merged I'll deprecate those packages again.

devedse avatar Dec 29 '18 21:12 devedse

Hi, sorry for the very slow reply - I've been very busy lately.

Thanks for reporting and fixing this. I'll merge your PR along with some other stuff hopefully soon and publish a new release to NuGet.

loodakrawa avatar Jan 16 '19 03:01 loodakrawa

Thanks :smile:

devedse avatar Jan 16 '19 09:01 devedse