Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Continuous integration TeamCity-在解决方案级别为引用项目构建失败_Continuous Integration_Teamcity - Fatal编程技术网

Continuous integration TeamCity-在解决方案级别为引用项目构建失败

Continuous integration TeamCity-在解决方案级别为引用项目构建失败,continuous-integration,teamcity,Continuous Integration,Teamcity,我有一个5个项目的解决方案,其中1个添加了“作为参考”,将其命名为“公共项目”(我在解决方案文件夹中添加了一个现有项目)。因为添加了“公共项目”作为参考。在解决方案文件中,它将路径显示为-“.\SharedProject\CommonProject.proj”,其中其他项目具有完整路径。由于此TeamCity构建失败,因为它试图根据解决方案文件的路径引用项目文件 因此,我为CommonProject添加了一个工件,并在主解决方案中添加了一个工件依赖项。但是build compile仍然失败,因为

我有一个5个项目的解决方案,其中1个添加了“作为参考”,将其命名为“公共项目”(我在解决方案文件夹中添加了一个现有项目)。因为添加了“公共项目”作为参考。在解决方案文件中,它将路径显示为-“.\SharedProject\CommonProject.proj”,其中其他项目具有完整路径。由于此TeamCity构建失败,因为它试图根据解决方案文件的路径引用项目文件

因此,我为CommonProject添加了一个工件,并在主解决方案中添加了一个工件依赖项。但是build compile仍然失败,因为它在其他项目中找不到CommonProject dll

如果我错过了任何一步或建议任何其他方法,请有人提出建议

提前谢谢


Sai

您可以在teamcity的CommonProject中创建一个额外的构建步骤,将
dll
工件复制到您的主解决方案可以找到的文件夹中。

最终遵循此链接中给出的解决方案-