- Düzenlendi
using the runtimes
This might sound like a silly question, but how do I import the monogame(xna)-runtimes into Visual Studio 2012 ( for Windows Phone 8 development )?
I have pulled the latest runtimes from git, but I am not sure what to do next. I am not familiar with Visual Studio nor external libraries/runtimes.
I want to achieve this at the top of my class:
using Spine;
and not receive any errors in my code: (e.g The type or namespace name 'Spine' could not be found (are you missing a using directive or an assembly reference?)
I imagine the solution to my problem is simple, but I have no clue what to do.
Hope you understand my question and can give me a helping hand.
Open spine-xna.sln in spine-xna. The settings for the spine-xna-example project is what you need, your project needs to depend on spine-xna.
thanks for the reply, but I am still having issues.
When I try to open spine-xna.sln into Visual Studio 2012, I get this error message:
" Windows is not a supported platform in this version of XNA Game Studio, or this edition of Visual Studio. The project may not build or launch as expected "
I notice that all the references in the project is marked with a warning message, telling me that: the referenced component 'name.of.the.component' could not be found.
I also tried to reference the spine-xna project into my game-project (even though I got the error stated above) and I get this error message:
" Unable to add the specified project reference. The reference must be a Windows Phone project that targets the current or earlier versions of the Windows Phone OS"
I will try to figure out why I get all these errors and warnings, but if you have any suggestions I would be more than happy to know them. I can also mentioned that I started four days ago on a game for windows phone 8 using monogame in visual studio 2012 and everything have worked well until now. I really want to use the animations I created in Spine in my game and hope someone have a solution to my problem (if I am unable to find one myself)
I use Visual C# 2010 Express. I think maybe VS2012 is not supported by XNA. In that case you should be able to pull the sources from spine-csharp and spine-xna into a MonoGame project with VS2012. You could make them separate projects and set up dependencies, but just putting all the source in your project is probably easier.
Thanks a lot. Problem solved!
I followed your last advice by just copying the source code into my project (don't know why I did not think of that). Now I can finally try to get those animations up and running ^^
Thanks again.