英文:
TFS 2018 - Error during download: System.UriFormatException: Invalid URI: The format of the URI could not be determined
问题
我在 Team Foundation Server 2018 中基于构建定义创建了一个发布定义。当针对相应的构建环境启动发布时,我收到以下错误消息:
下载期间发生错误:System.UriFormatException:无效的 URI:无法确定 URI 的格式。
此错误发生在发布过程中的“下载工件”步骤中。
问题:
- 我在 Team Foundation Server 2018 中如何找到此格式不正确的 URI?
英文:
I have created a release definition in Team Foundation Server 2018 based on a build definition.
When the release is started for the respective build environment I get the following error message:
Error during download: System.UriFormatException: Invalid URI: The format of the URI could not be determined.
This error occurs during the release process "Download artifacts".
Question:
- Where can I find this URI in Team Foundation Server 2018 which has an incorrect format?
答案1
得分: -1
我已找到错误。
在我的构建定义中使用了预定义变量。
例如,在这个$(BuildTargetPath)\App\YourFavoriteProgram\
规范中,$(BuildTargetPath)
是在变量组中定义的变量。
然而,我忘记在构建定义中在“变量” > “变量组”下包含该变量组。
英文:
I have found the error.
In my build definition predefined variables are used.
For example, in this $(BuildTargetPath)\App\YourFavoriteProgram\
specification, $(BuildTargetPath)
is a variable defined in the variable group.
However, I had forgotten to include the variable group in the build definition under "Variables" > "Variable Groups".
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论