How do I verify the .cssx file created with CSPack Azure SDK tool?

﹥>﹥吖頭↗ 提交于 2019-12-10 22:25:44

问题


Once I use "Build->Publish->Create Service Package Only" to pack my Azure role I get two files. One is the .cscfg - a tiny XML file with service configuration. The other is the package itself which is in fact a ZIP archive with .cspkg extension.

The .cspkg file contains the .cssx file which grows larger and larger as I add stuff into my role. So I assume that the .cssx file contains all the contents of my role, binary files included. If I open it with a viewer - it doesn't contain any recognizable patterns, just some binary content.

I want to be sure that the package contains all the right stuff before I upload it to Windows Azure but since I can't analyze the .cssx file I can't do that. Is there a way to analyze the .cssx file to verify that it was assembled right?


回答1:


Rename the [filename].cssx file to [filename].zip and use and open the file using your prefered archiving utility.

Before you can do this you need to follow some steps to disable encrypting the archive. More detailed info here



来源:https://stackoverflow.com/questions/6592923/how-do-i-verify-the-cssx-file-created-with-cspack-azure-sdk-tool

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!