问题
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