0

大家好,我使用 Visual Studio 2012 和 Metro 应用程序的 JavaScript 模板构建了一个应用程序性能测试

     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.

我解决了许多错误,但最后说失败并没有解决,如何解决这个问题你能知道我吗。

4

1 回答 1

0

要修复此错误,请检查 Visual Studio 中的所有 .html、.css 和 .js,并设置其高级保存选项以将文件更改为 UTF8 w/BOM。

打开文件后,执行:

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

保存每个文件。

于 2013-02-04T16:19:29.633 回答