简体   繁体   English

Windows 8确保已启用事件日志记录

[英]windows 8 Ensure that event logging is enabled

hi all i build an application using visual studio 2012 with javascript template for metro apps i am trying to publish the app in store so that i test the application for windows certification kit it is testing the app and finally showing me the error like this saying in performance test . 大家好,我使用Visual Studio 2012和Metro应用程序的javascript模板构建了一个应用程序,我正在尝试在商店中发布该应用程序,以便我测试Windows认证套件的应用程序,它正在测试该应用程序,并最终向我显示了这样的错误性能测试

     Bytecode generation

Error Found: The bytecode generation test detected the following errors:
    This package was deployed for development or authoring mode. Uninstall the package and re-install it normally.
Impact if not fixed: As a performance optimization to accelerate JavaScript execution time, JavaScript files ending in the ".js" extension generate bytecode when the app is deployed. This optimization significantly improves start-up and ongoing execution times for JavaScript.
How to fix: You may need consider one or more of these steps to fix the issue:
- Ensure that event logging is enabled
- All JavaScript files are syntactically valid; otherwise exclude the respective files from the package
- Please note that you should uninstall all previous versions of the app before deploying
Otherwise exclude the respective files from the package.

I resolve many errors but finally it is not fixed saying failed, how to solve this can u know me. 我解决了很多错误,但最终还是不固定的说失败了,如何解决这个问题您能认识我吗。

To fix this error, go through all the .html, .css, and .js in visual studio and set their advanced save options to change the files to UTF8 w/ BOM. 要解决此错误,请在Visual Studio中浏览所有.html,.css和.js并设置其高级保存选项,以将文件更改为带有BOM的UTF8。

With the file open, perform: 打开文件后,执行:

1) file
2) advanced save options...
3) select the UTF8 encoding

The save each file. 保存每个文件。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM