WinStore Plugin broken with r233?

Bugs will be moved here once resolved.

Post » Tue Sep 20, 2016 9:49 am

Problem Description
When I try to preview in Visual Studio I get a javascript error and cant continue or build a package for the store.

Attach a Capx
http://www.playbird.at/sites/Bl4ckSh33p ... Error.capx

Description of Capx
just a blank project with WinStore Plugin

Steps to Reproduce Bug
    Export as Win10 Universal and preview in Visual Studio

Observed Result
Unhandled exception at line 288, column 118 in ms-appx://1fcec46e-aef7-439d-a1d8-ba47be249f25/c2runtime.js
0x803f6107 - JavaScript runtime error: Unknown runtime error

I added WinJS for my other project and got a java error in a different line. Dont know if its the same issue but I cant update my apps anymore.
Error:
Unhandled exception at line 521, column 118 in ms-appx://9d14a637-2455-4264-97ff-0876ba817ffa/c2runtime.js
0x803f6107 - JavaScript runtime error: Unknown runtime error

Forum topic about it - may be related:
viewtopic.php?f=146&t=181243

Errorlog:
11:36:34.9506: Reference source file successfully generated from references in project 'C:\Users\mail\Documents\Construct 2\Output\New project\NewProject.jsproj'
11:36:36.1666: Referenced file 'WinJS/js/base.js' not found.
11:36:36.1666: Referenced file 'WinJS/js/ui.js' not found.


Affected Browsers
    EDGE (Win10 Universal)

Operating System and Service Pack
latest Win10 update 64 Bit

Construct 2 Version ID
233 stable
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Tue Sep 20, 2016 10:13 am

As per the guidelines please test the latest beta, we already made some changes around this.
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Wed Sep 21, 2016 6:22 am

I installed the latest beta r235. Visual Studio shows the preview but no Ads are shown and this is in the error list:
(I added the WinJS folder and files from previous export)

'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/3.0)'.
Exception was thrown at line 521, column 463 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x803f6107 - JavaScript runtime error: Unknown runtime error
Exception was thrown at line 308, column 461 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
Exception was thrown at line 376, column 244 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
The program '[9392] WWAHost.exe' has exited with code 1 (0x1).

after switching a few pages more errors appear:
'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/3.0)'.
Exception was thrown at line 521, column 463 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x803f6107 - JavaScript runtime error: Unknown runtime error
Exception was thrown at line 308, column 461 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
Exception was thrown at line 376, column 244 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
Exception was thrown at line 376, column 244 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
Exception was thrown at line 308, column 461 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
Exception was thrown at line 376, column 244 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
Exception was thrown at line 376, column 244 in ms-appx://f3a2bba5-98c8-40eb-aacc-3e2afc45c187/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
B
53
S
16
G
6
Posts: 718
Reputation: 9,150

Post » Fri Sep 23, 2016 1:24 pm

Can't reproduce here - I exported your .capx to Windows 10 and it ran without errors in Visual Studio. Maybe check your VS is installed correctly and fully updated?
Scirra Founder
B
387
S
230
G
88
Posts: 24,251
Reputation: 192,454

Post » Tue Oct 18, 2016 12:59 pm

I exported my Overwatch Companion with the latest C2 Beta 238 and all updates for Visual Studio installed.
No references for Ads added but I get this errors:

'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/3.0)'.
Exception was thrown at line 397, column 424 in ms-appx://55466455-2052-4d05-84e9-cc4baa6ad6c0/c2runtime.js
0x800706ba - JavaScript runtime error: Der RPC-Server ist nicht verfügbar.
Exception was thrown at line 522, column 463 in ms-appx://55466455-2052-4d05-84e9-cc4baa6ad6c0/c2runtime.js
0x803f6107 - JavaScript runtime error: Unknown runtime error
Exception was thrown at line 310, column 461 in ms-appx://55466455-2052-4d05-84e9-cc4baa6ad6c0/c2runtime.js
0x800a03ea - JavaScript runtime error: Syntax error
The program '[2016] WWAHost.exe' has exited with code 1 (0x1).

RPC Server, Unknown and Syntax error. :(
I enabled AD Sdk and I did not get a WinJS error this time but no ads are shown so far.

And when I use the testproject from above just with WinStore Plugin enabled I still get this error:
'WWAHost.exe' (Script): Loaded 'Script Code (MSAppHost/3.0)'.
Exception was thrown at line 288, column 473 in ms-appx://27ae2555-3cfd-41c4-922e-32280b647c0e/c2runtime.js
0x803f6107 - JavaScript runtime error: Unknown runtime error

Any ideas? @Ashley
B
53
S
16
G
6
Posts: 718
Reputation: 9,150


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest