2012-12-14 4 views
5

Ich kenne das MSApp.execUnsafeLocalFunction Problem, wenn es um DOM-Manipulation in jQuery kommt, aber selbst eine geänderte Version von jQuery link here schlägt die Verifizierung mit dem Windows-Speicher fehl.Warum werden meine Drittanbieter-Javascripts wie KnockoutJS das Windows App Certification Kit nicht bestehen?

Es scheint das Muster hier ist, dass alle meine Nugget gezogenen Skripts Überprüfung versagt. Jedermann warum?

Error Found: The bytecode generation test detected the following errors: 

File \\?\C:\Program Files\...\Scripts\require.js has JavaScript syntax or other problems. 
File \\?\C:\Program Files\...\Scripts\r.js has JavaScript syntax or other problems. 
File \\?\C:\Program Files\...\Scripts\knockout-2.2.0.js has JavaScript syntax or other problems. 
File \\?\C:\Program Files\...\Scripts\knockout-2.2.0.debug.js has JavaScript syntax or other problems. 
File \\?\C:\Program Files\...\Scripts\knockout.mapping-latest.js has JavaScript syntax or other problems. 
File \\?\C:\Program Files\...\Scripts\knockout.mapping-latest.debug.js has JavaScript syntax or other problems. 
File \\?\C:\Program Files\...\Scripts\jquery-1.8.3.js has JavaScript syntax or other problems. 

Antwort

5

Versuchen Sie, Ihre Dateien mit der BOM-Codierung (UTF8 byte order mark) zu speichern. Ich hatte ein ähnliches Problem und das hat das Problem gelöst.

in VS> Datei-Menü> Erweitert Speicheroptionen> wählen Sie UTF-8 mit Unterschrift Codepage 65001

http://msdn.microsoft.com/en-us/library/windows/apps/hh849088.aspx nicht spezifisch für Ihr Problem, aber Bytecode-Caching.

HTH

+0

Alles klar! Es klappt! –

Verwandte Themen