Forum Libraries, Components, and Plugins

Unable to upload on windows phone

tried to build a new project using the templates in visual studio (CocosSharp Game (Shared)), using version 1.7.0.0
Worked perfectly on the emulator, but it would crash as soon as I tried to upload it on a windows phone 8.1
Looking at the stack trace I got:

System.NotSupportedException: Could not find a graphics device that supports the HiDef profile
at Microsoft.Xna.Framework.Graphics.GraphicsDevice.set_GraphicsProfile(GraphicsProfile value)
at Microsoft.Xna.Framework.Graphics.GraphicsDevice..ctor(GraphicsAdapter adapter, GraphicsProfile graphicsProfile, PresentationParameters presentationParameters)
at CocosSharp.CCGameView.InitialiseGraphicsDevice()
at CocosSharp.CCGameView.Initialise()
at CocosSharp.CCGameView..ctor()
at TestPhoneUpload

A quick search revealed that HiDef was not supported by wp, so I should switch to Reach; however I'm not sure how to do it on a CocosSharp project

Best Answer

Answers

Sign In or Register to comment.