大家好我在使用visual studio 2012和地铁应用程序的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.
我解决了很多错误,但最后并没有修复说失败,如何解决这个问题,你能认识我。
答案 0 :(得分:0)
要解决此错误,请浏览visual studio中的所有.html,.css和.js,并设置其高级保存选项,将文件更改为带有BOM的UTF8。
打开文件,执行:
1) file
2) advanced save options...
3) select the UTF8 encoding
保存每个文件。