收到错误消息“无法从内部版本创建".通过VSTS将WPF应用程序部署到Hockeyapp时 [英] Getting error "Version could not be created from build" while deploying WPF app to Hockeyapp via VSTS

查看:149
本文介绍了收到错误消息“无法从内部版本创建".通过VSTS将WPF应用程序部署到Hockeyapp时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我在VS项目中使用Visual Studio分发到HockeyApp"选项进行部署时,一切工作正常.但是当我使用VSTS做同样的事情

Everything works fine when I deploy using Visual Studio "Distribute to HockeyApp" option in VS project. But when I do the same using VSTS

HTTP状态码:422.响应:{状态":错误",消息":版本" 无法通过构建创建.}

HTTP status code: 422. Responce: {"status":"error","message":"Version could not be created from build."}

有人可以帮助我吗?

添加构建配置.

推荐答案

错误消息已经表明了根本原因:它找不到生成版本.

The error message already indicated the root cause: It cannot find the build version.

如果单击二进制文件路径"后的图标,则会发现该图标用于部署.apk,.ipa和.appx文件.这些类型的文件在软件包中包括一个版本.我怀疑这是部署zip文件时任务的局限性,因为zip文件不包含版本信息.从Visual Studio部署时,它要求您手动输入版本.

If you click on the icon after "Binary File Path", you'll find that it is used to deploy .apk, .ipa and .appx files. These kinds of files include a version in the packages. I suspect that it is a limitation with the task when deploy zip files since zip files does not include the version information. And when you deploy from Visual Studio, it requires you to enter the version manually.

这篇关于收到错误消息“无法从内部版本创建".通过VSTS将WPF应用程序部署到Hockeyapp时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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