错误构建[发布工件:包] [英] Error build [Publish Artifact: Packages]
问题描述
我正在用TFS构建项目(D365项目) )并在步骤中收到此错误 [发布工件:包]:
I am building a project with TFS (Project D365) and getting this error in the step [Publish Artifact: Packages]:
推荐答案
有许多事情可能导致您在构建项目时看到的错误,因此我们可能需要更多信息,但是我会快速查看这个帖子,看看它是否是同一个问题:
There are a number of things that could cause the error you are seeing when building a project so we may need more information, however I would take a quick look at this thread to see if it's the same issue:
https://community.dynamics.com/365/financeandoperations/f/765 / t / 275117
"我得到的错误是:发布构建工件失败并显示错误:未找到PathtoPublish:C:\DynamicsSDK \ VSOAgent \_work\1 \ a \Packages
目前为止据我所知,我不应该对VSTS进行任何手动更改,这应该完全按照LCS进行设置。我确实在其所述的日志中看到"0个包已创建。" 所以我不确定它是否失败,因为没有
包......或者存在路径问题。 "
"The error I get is: Publishing build artifacts failed with an error: Not found PathtoPublish: C:\DynamicsSDK\VSOAgent\_work\1\a\Packages
As far as I am aware, I should not have to do any manual changes for VSTS, that this should be fully setup to go per LCS. I do see in the logs that it states, "0 packages created." So I'm not sure if it is failing because there are no
packages...or there is a path issue." "
答案:
"我终于意识到Visual studio显示我的更改已合并并签入...但VSTS没有。 我最终完全回滚所有更改然后再将它们放入,合并,检入MAIN然后运行构建......这次它的工作量为
。"
"I finally realized that visual studio showed my changes were merged and checked in...but VSTS did not. I ended up completely rolling back all changes and then put them in again, merged, checked into MAIN and then ran the build...and it worked this time."
附加信息:
"我遇到了同样的问题,我登记了模型描述符文件,因为它包含有关模型的信息。  它解决了这个问题。"
"I faced the same issue and i checked-in model descriptor file as it contains the infomation about the models. It resolved the issue."
这篇关于错误构建[发布工件:包]的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!