In Visual Studio 2015 Update 3, I have created a JavaScript -> Windows -> Windows 8 -> Windows Phone -> Blank App (Windows Phone)
project. I then changed the default.html
to include a <select>
element like this:
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>App1</title>
<!-- WinJS references -->
<!-- At runtime, ui-themed.css resolves to ui-themed.theme-light.css or ui-themed.theme-dark.css
based on the user’s theme setting. This is part of the MRT resource loading functionality. -->
<link href="/css/ui-themed.css" rel="stylesheet" />
<script src="//Microsoft.Phone.WinJS.2.1/js/base.js"></script>
<script src="//Microsoft.Phone.WinJS.2.1/js/ui.js"></script>
<!-- App1 references -->
<link href="/css/default.css" rel="stylesheet" />
<script src="/js/default.js"></script>
</head>
<body class="phone">
<select>
<option>Val</option>
<option>Val</option>
<option>Val</option>
<option>Val</option>
</select>
</body>
</html>
When tapping on the select element, the application crashes on Windows Mobile 10 with:
'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/2.0)'.
The program '[3976] WWAHost.exe' has exited with code -1073741819 (0xc0000005) 'Access violation'.
This happens on devices and the Windows Mobile 10 emulator. Windows Phone 8 does not seem to have this problem. Until recently, this worked fine on Windows Mobile 10 as well. Perhaps an update caused this? Interestingly, Cordova and UWP are also affected. Is there a known solution yet?