This project is read-only.

ERROR with appBar (Windows Phone)

Jan 31, 2015 at 12:19 PM
Edited Jan 31, 2015 at 12:19 PM
Hi everyone,

I´m new in developing apps for the Windows AppStore and I want to use this template to publish my existing Webpage. Ok, this was easy. I configured it and testing as an Windows 8.1 (desktop). It works fine. But when I want to test my (web)app with the Windows Phone Emulator (Visual Studio), an error appears

Here is the error message :

/template/js/nav.js

0x800a138f - JavaScript runtime error: Unable to get property 'appBar' of undefined or null reference

My exisitng AppBar contains 10 entries and I belive its too large for the Windows Phone.

How can I edit my code,so that the appBar is only shown for the desktop version?


thanks in advance

bavaria_coder