VSIX 中的多个 Zip 文件无效
当我尝试将 vsix 包上传到 Visual Studio Gallery 时,收到错误消息:
VSIX 中的多个 Zip 文件无效
有谁知道为什么会这样?
该软件包位于:http://sharpgl.codeplex.com/releases/view/82739 名为“SharpGL 2.0 Visual Studio Extension”,在我尝试过的每台机器上都运行良好。
提前致谢!
When I try and upload a vsix package to the Visual Studio Gallery, I get the error message:
Invalid Multiple Zip Files in in VSIX
Does anyone know why this would be?
The package is at: http://sharpgl.codeplex.com/releases/view/82739 named 'SharpGL 2.0 Visual Studio Extension', and works fine on every machine I've tried it on.
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
当清单的
元素的目录包含多个 ZIP 文件时,就会出现此问题。例如,就我而言,我的ProjectTemplates
具有以下文件系统结构:解决方案是修改清单以包含尽可能多的< /code> 元素,因为您有 ZIP 文件,然后构造目录,使每个
不会导致多个 ZIP:This problem occurs when a manifest's
<ProjectTemplate>
element's directory contains more than one ZIP file. For example, in my case, I had<ProjectTemplate>ProjectTemplates</ProjectTemplate>
with this file system structure:The solution is to modify the manifest to contain as many
<ProjectTemplate>
elements as you have ZIP files, then structure the directories such that each<ProjectTemplate>
doesn't lead to more than one ZIP:您是否尝试将 VSIX 作为模板上传?如果它包含多个模板,您必须将其作为“工具”上传。
只有包含可通过“新建项目/项”对话框实例化的单个模板的 VSIX 才能在 VSGallery 上分类为“模板”。
Are you trying to upload your VSIX as a template? If it contains multiple templates, you must upload it as a "Tool".
Only VSIX's that contain a single template which can be instantiated via the New Project/Item Dialog can be classified on the VSGallery as a "template".
我发现了这个:
无效的多个 Zip 文件在VSIX中。
它并没有完全解决我的问题,但它可能对你有帮助。
I found this:
Invalid Multiple Zip Files in in VSIX.
It did not fully solve my problem, but it may help you.
我根据下面的VS版本编译了nancy包
https://github.com/talley/nancyfx/tree/master/ Nancy%20VSIX%20Packages
如果您遇到问题,请告诉我。
I compiled nancy package based on VS versions below
https://github.com/talley/nancyfx/tree/master/Nancy%20VSIX%20Packages
Let me know if you run into issues.