如何验证使用CSPack Azure SDK工具创建的.cssx文件? [英] How do I verify the .cssx file created with CSPack Azure SDK tool?

查看:373
本文介绍了如何验证使用CSPack Azure SDK工具创建的.cssx文件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

一旦我使用Build-> Publish-> Create Service Package Only打包我的Azure角色,我得到两个文件。一个是.cscfg - 一个具有服务配置的小型XML文件。另一个是包本身,它实际上是一个ZIP文件,扩展名为.cspkg。

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.

.cspkg文件包含.cssx文件,东西到我的角色。所以我假设.cssx文件包含我的角色的所有内容,包括二进制文件。如果我用查看器打开它 - 它不包含任何可识别的模式,只是一些二进制内容。

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.

我想确保包包含所有正确的东西之前我上传到Windows Azure,但由于我无法分析.cssx文件,我不能这样做。有没有办法分析.cssx文件以验证它是否正确?

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?

推荐答案

重命名 [filename] .cssx 文件复制到 [filename] .zip ,然后使用您希望的归档实用程序打开该文件。

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

这篇关于如何验证使用CSPack Azure SDK工具创建的.cssx文件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆