Getting error “Version could not be created from build” while deploying WPF app to Hockeyapp via VSTS

随声附和 提交于 2019-12-11 04:08:12

问题


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 status code: 422. Responce: {"status":"error","message":"Version could not be created from build."}

Can anyone please help me?

Adding build config.


回答1:


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

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.



来源:https://stackoverflow.com/questions/50798394/getting-error-version-could-not-be-created-from-build-while-deploying-wpf-app

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