Try uninstalling everything and then installing “Windows Phone 8.0 SDK”, that will download and install VS 2012 as well.
I’ll do that but for now I’ll stick to the working trial. Thanks anyway.
Hello. I have also had similar issues but after various stages of faffing around including uninstalling all, re installing , enabling virtual hardware on bios. I cant run the emulator as its saying I am missing Windows 8.0 Professional. I have 8.1 and its not Pro (came with the laptop) so I cannot enable Hyper V.
Right. You can only run the WP8 emulator on a Windows 8.1 “Pro” operating system, not the “Home” version. This is because the Pro version comes with Hyper-V, which is the virtual machine software the emulator runs in.
Yeah I should have read that bit! Well Im building for device instead. I have Hello World working. But no luck in any of my existing projects yet. The last one just froze and couldnt shut down phone. Now I just need to find why / what is in my projects that perhaps arent quite compatible
Another one frozen. And phone wont turn off now. Is there a place of known issues. IE perhaps I Cant use width = display.pixelWidth, height = display.pixelHeight, in config? Is there anywhere that will tell me why my phone has completely frozen and cannot shutdown. I cant see an error report anywhere? Im new to Visual Studio
Well, testing on actual devices is always best.
If your app isn’t running, then it’s probably using features that are not supported on WP8 yet. If you switch your project’s debugger to “Native”, then you can see some of the Lua runtime errors that may be occurring. Although I’ve heard some reports that not all Lua errors are being reported, such as failure to require in a Lua library that’s not supported yet. We’re still working on improving the error reporting.
To enable native debugging, you’ll need to do the following in Visual Studio:
-
Right click on your application project in Visual Studio.
-
Select “Properties” from the popup menu.
-
Select the “Debug” tab on the left.
-
Go to the drop-down box under “Debugger Type\UI Task” and select “Native Only”.
-
Run your application in debug mode.
If the entire operating system froze, then you’re running into a bug with the operating system. That’s only happened to me twice within the past 6 months, but yeah, sometimes it happens when you run the app in debug mode.
I believe you can force your device to reboot by holding down the Power Button and Volume Down buttons for several seconds.
Yeah I tried that shut down and doesn’t want to work. I have to wait about 10 minutes and then it shuts down, but of a pain, I will look at that native debug and hope I can see what’s going wrong or it’s going to be slow and painful lol. I will also strip everything out that might not work although there’s nothing fancy. No widgets or plugins, perhaps its my build settings, I’ll investigate tomorrow as it’s late and a long day. Thanks
Regarding widgets, we don’t have full support for it on WP8 yet, but you can make it work if you copy in our iOS7 skin images into your assets directory. Have a look at my instructions here…
http://forums.coronalabs.com/topic/49277-widgets-in-corona-cards/?p=254947
And I’ve never heard of a WP8 device hanging repeatedly before (as in the entire OS). It makes me wonder if there is something wrong with the hardware. Hopefully you were just unlucky.
Yeah hopefully I was wondering where build settings comes in. Would there be a windows section? How would you define icons? This kinds of things that are platform dependent.
Oh and it’s a lumia 925 so quite new
Since you’re developing via Visual Studio, you don’t use a “build.settings” file. That file is only applicable to Corona Simulator builds. So, the configuration that you normally put into a “build.settings” file you would have to do yourself as documented by Microsoft.
For example, a lot of the WP8 app settings can be found by double clicking your project’s “WMAppManifest.xml” file. You would set your app name, version, and supported resolutions/capabilities/requirements here.
You app icon/tile images are under your project’s “Assets\Tiles” directory, which is the standard WP8 location for them (this is a Microsoft thing too). This means you should not include “Icon*.png” files found in Corona sample projects, because those are only applicable to Corona Simulator builds as well. In Visual Studio, you have to set app icons/tiles Microsoft’s way.
You would also set your app page’s orientation and status bar setting via the “MainPage.xaml” in XML. Just double click on the “MainPage.xaml” file and you can see those settings in the XML panel.
The “config.lua” is still applicable. You only need to exclude the “build.settings” and app icon files that are normally in a Corona Simulator build. I hope this helps getting you started.
It all works! YAY! I thought I had better stick Windows Enterprise + Visual Studio Ultimate on to help me test out before crashing my phone everytime.
Everyone,
The newest WP8 CoronaCards build that got pushed out (build #2387) resolves the installation issue that some of you may have seen with “Visual Studio Express 2013”. And we’ve updated our documentation to make it clear that you need “Update 2” of that version of Visual Studio, since that’s the version Microsoft added WP8 support to (it used to not be included and only available in the 2012 version). I apologize for the confusion. That was a fairly new update of Visual Studio that we didn’t have much time to test with compared to the other 2 versions that we support.
The advantage of the 2013 Update 2 version is that it includes more WP8 emulators. Specifically both Windows Phone 8.0 and 8.1 versions and their new 1080p device emulator. If you had the Pro version of Visual Studio 2013, then you already had support for this.