Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Build for Windows App Store
Started by sysads Jun 10 2015 03:05 AM

11 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

sysads

[GLOBAL: userInfoPane.html]
sysads
  • Contributor

  • 106 posts
  • Corona SDK

Hi

 

I have games built with corona sdk for iOS and Android and I have just registered with Microsoft App Store as a developer.

 

How can I submit all my games to Microsoft App store. I could not see in Corona Simulator how to build app for Microsoft App Store.

 

Thanks



[TOPIC: post.html]
#2

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,064 posts
  • Enterprise

Windows Phone 8 builds are done using Corona Cards and Visual Studio.  You cannot build them directly out of Corona SDK like you can for iOS or Android.  Please see:

 

https://docs.coronalabs.com/coronacards/wp8/index.html

 

to get you started.  I'm also moving this to the Windows Phone 8 forum.

 

Rob



[TOPIC: post.html]
#3

sysads

[GLOBAL: userInfoPane.html]
sysads
  • Contributor

  • 106 posts
  • Corona SDK

Windows Phone 8 builds are done using Corona Cards and Visual Studio.  You cannot build them directly out of Corona SDK like you can for iOS or Android.  Please see:

 

https://docs.coronalabs.com/coronacards/wp8/index.html

 

to get you started.  I'm also moving this to the Windows Phone 8 forum.

 

Rob

 

Thanks for the response. Does this mean that one now has to write another code for existing corona sdk games?



[TOPIC: post.html]
#4

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,064 posts
  • Enterprise

The answer is both "maybe" and "a little".

 

CoronaCards for WP8 is a case where most of your app will be just like you have it for Corona SDK.  However you don't build from the Corona Simulator.  Instead you have to install Visual Studio, go through a few steps to get it setup.  Part of that setup involves writing a little C# language code that we provide you.  That's the "a little".

 

After that, there are some things that CoronaCards for WP8 doesn't support, like native.newTextField(), native.newMapView() AdMob ads, etc.  If your app needs these, you will have to implement them yourself by writing C# (and .NET) code to accomplish those features we don't support.

 

All of this is very well documented by reading the link I posted above.

 

Rob



[TOPIC: post.html]
#5

sysads

[GLOBAL: userInfoPane.html]
sysads
  • Contributor

  • 106 posts
  • Corona SDK

I am trying to follow the steps but during creating a project, keep getting this error "Unspecified error (Exception from xxxx) - http://snag.gy/PNmfa.jpg



[TOPIC: post.html]
#6

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,064 posts
  • Enterprise

Which step is causing this issue?



[TOPIC: post.html]
#7

sysads

[GLOBAL: userInfoPane.html]
sysads
  • Contributor

  • 106 posts
  • Corona SDK

Which step is causing this issue?

The step causing is when I click on File > New > Project, then I select installed > templates > visual basic > corona > coronacards App (windows phone silverlight). Enter name, location then click OK. It creates the game folder but then throws up that error.

 

I have tried installing iisexpress8 64bit on Windows 7 x64 but still same issue.



[TOPIC: post.html]
#8

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

First, double check that the Visual Studio version that you have installed meets our minimum system requirements as documented via the link below.  We currently only support the Visual Studio 2013 *editions*.  And during the installation, make sure to check-on/include "Windows Phone" and "Silverlight" if those options are available (it defers between editions).  You can't build WP8 Silverlight apps without them.  You can verify this by going to the "Uninstall Programs" window, selecting Visual Studio 2013 from the list, and then clicking "Modify".

   https://docs.coronalabs.com/daily/coronacards/wp8/index.html#system-requirements

 

Once you've verified that your dev environment meets our min requirements, you should next verify that you can create a new WP8 project via one of Microsoft's built-in project templates.  Such as...

   Visual Basic\Store Apps\Windows Phone Apps\Pivot App (Windows Phone Silverlight)

...or...

   Visual C#\Store Apps\Windows Phone Apps\Pivot App (Windows Phone Silverlight)

 

Once created, see if you can build and run it.  This will verify that your Visual Studio development environment is set up correctly and that you don't have a bad installation.



[TOPIC: post.html]
#9

sysads

[GLOBAL: userInfoPane.html]
sysads
  • Contributor

  • 106 posts
  • Corona SDK

Hi

 

This is what i see - http://snag.gy/wSdEr.jpg

 

but from what I see, must I be running this on Windows 8.1 OS rather than Windows 7?



[TOPIC: post.html]
#10

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

Right.  You need to check on the "Silverlight Development Kit".

 

This is needed because our CoronaCards project template creates a Silverlight WP8 app, not a universal app.  Those 2 types of apps very different.  A Silverlight app compiles to a *.xap file and uses Microsoft's Silverlight UI framework.  A universal app compiles to a *.appx file and uses the WinRT XAML component UI framework.  They're not compatible.  At the moment, it's recommended to make Silverlight apps because Windows Phone 8.0 devices do not support universal apps and there are still a lot of 8.0 devices in the market.



[TOPIC: post.html]
#11

sysads

[GLOBAL: userInfoPane.html]
sysads
  • Contributor

  • 106 posts
  • Corona SDK

Right.  You need to check on the "Silverlight Development Kit".

 

This is needed because our CoronaCards project template creates a Silverlight WP8 app, not a universal app.  Those 2 types of apps very different.  A Silverlight app compiles to a *.xap file and uses Microsoft's Silverlight UI framework.  A universal app compiles to a *.appx file and uses the WinRT XAML component UI framework.  They're not compatible.  At the moment, it's recommended to make Silverlight apps because Windows Phone 8.0 devices do not support universal apps and there are still a lot of 8.0 devices in the market.

Installed it that but same error :(



[TOPIC: post.html]
#12

Joshua Quick

[GLOBAL: userInfoPane.html]
Joshua Quick
  • Moderator

  • 3,397 posts
  • Corona Staff

Have you tried one of Microsoft's WP8 Silverlight project templates like I suggested above?

The point is to verify that your Visual Studio installation is or isn't corrupted.




[topic_controls]
[/topic_controls]