【问题标题】:windows 8 Ensure that event logging is enabledwindows 8 确保启用事件日志记录
【发布时间】:2013-02-04 07:30:58
【问题描述】:

大家好,我使用 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.

我解决了很多错误,但最后还是说失败了,怎么解决的,你知道我吗。

【问题讨论】:

    标签: javascript windows-8 visual-studio-2012


    【解决方案1】:

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

    打开文件,执行:

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

    保存每个文件。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2018-02-20
      • 2018-02-26
      • 1970-01-01
      • 2011-03-16
      相关资源
      最近更新 更多