TFS 2010 Service Pack 1升级......现在正在构建错误 [英] TFS 2010 Service pack 1 upgrade ... now getting build erroes

查看:84
本文介绍了TFS 2010 Service Pack 1升级......现在正在构建错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们刚刚更新了我们的TFS 2010应用服务器和带SP1的构建服务器。 此外,VS SP 1在构建服务器上升级但由于空间问题而未在App服务器上升级。   我们开始得到构建错误,因为
以下:

We have just updated our TFS 2010 App server and build server with SP1.  In addition VS SP 1 was upgraded on the build server but not on the App server due to space issues.    Immediatiatly we started getting build errors suck as the following:


  • C:\Program Files \ MSBuild\Microsoft\VisualStudio \\ \\ v10.0\Web\Microsoft.Web.Publishing.targets(2704):"IsCleanMSDeployPackageNeeded"任务意外失败。 System.IO.FileNotFoundException:无法加载文件或程序集
    'Microsoft.Web.Deployment ,Version = 7.1.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'或其依赖项之一。
  • Areas \Cms \Controllers\CmsController.cs(23):类型'System.Web.Mvc.Controller'在未引用的程序集中定义。您必须添加对程序集'System.Web.Mvc,Version = 3.0.0.0,Culture = neutral,PublicKeyToken = 31bf3856ad364e35'的引用。
  • C:\Program Files\MSBuild\Microsoft\VisualStudio\v10.0\Web\Microsoft.Web.Publishing.targets (2704): The "IsCleanMSDeployPackageNeeded" task failed unexpectedly. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.Web.Deployment, Version=7.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
  • Areas\Cms\Controllers\CmsController.cs (23): The type 'System.Web.Mvc.Controller' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.

我们的SP安装是否会导致此问题? 是否在App和构建服务器上未升级VSSP1时出现问题?   我们可以通过重新安装MVC 3.0和Web部署工具来解决这个问题吗?

Did our SP install cause this?  Is there a problem with not upgrading VSSP1 on both App and build servers?    Can we fix this by reistalling MVC 3.0 and the Web deployment tool?

请帮助谢谢。

推荐答案

我们正在运行2个构建代理... 一个构建代理在构建服务器(01p)上运行,一个在应用服务器(02p)上运行。   在应用服务器上进行构建时会发生故障。   

We are running 2 build agents …  One build agent is running on the build server (01p) and one the app server (02p).    The failures are occurring when the builds occur on the app server.   

我在升级之前查看了所有版本。   这些构建都是在构建服务器上构建的。   我相信那个 安装Service Pack在应用服务器上启用了构建代理;在升级前
之前禁用它。

I Did a look on all builds prior to the upgrade.    Those builds all got built on the build server.    I beleive that  the install of the service pack enabled the build agent on the app server; where it was disable prior to the upgrade.

不确定为什么我们在应用服务器上有一个构建代理。    我们在安装时遇到了困难VS SP!在App服务器上,这也可能是问题的一部分。

Not sure why we have a build agent on the app server.    We had difficulty installing the VS SP! on the App server so this may also be part of the problem.


这篇关于TFS 2010 Service Pack 1升级......现在正在构建错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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