子项目更新时自动发布主项目 [英] Auto publish master project while the sub project is updated

查看:84
本文介绍了子项目更新时自动发布主项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在为我们的场景使用主项目和子项目。我们发现,如果更新并发布子项目,则不会更新主项目。例如,工作时间在子项目中更新,但主项目中的工作时间为
未更新,我们必须打开主项目并重新发布主项目以在主项目中更新这些字段。

We are using master project and sub project for our scenarios. And we found that if the sub project is updated and published, the master project is not updated. For example, the Work hours is updated in sub project, but the Work hours in master project is not updated, and we have to open the master project and republish the master project to get those fields updated in the master project.

因此,在子项目更新时,无论是通过配置还是通过自定义代码(例如,建立一个以特定间隔调用PSI的作业),我们都可以让主项目得到更新。或者有解决方法吗?

So do we have away to let the master project get updated while sub project is updated, no matter through configuration or through custom code (e.g. build a job to call PSI at certain interval). or is there any workaround?

谢谢。

kevin

Kevin Li

推荐答案

嗨Kevin,

Hi Kevin,

如果您使用主项目和子项目,并且您只发布了子项目,主项目不会自动更新。此外,您还必须重新发布主程序。 Project Server中没有用于自动化的配置。

if you work with master and subprojects and if you only publish the subprojects, the master project will not be updated automatically. In addition you have to republish the master too. There is no configuratio in Project Server for automation.

但Paul Mather写了
PowerShell脚本
可能有所帮助。

But Paul Mather has written a PowerShell script that can possibly help.

最诚挚的问候,

Bernhard Fischer

Bernhard Fischer


这篇关于子项目更新时自动发布主项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆