TFS构建自动化 - Web部署项目错误

时间:2010-02-19 00:02:13

标签: tfs msbuild web-deployment-project

我正在尝试使用TFS自动构建过程构建Web部署项目。当我直接在Visual Studio 2008中构建项目时,它工作正常。但是从TFS,我得到以下错误:

"C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\BuildType\TFSBuild.proj" (EndToEndIteration target) (1) ->

"C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\BuildType\TFSBuild.proj" (CoreCompile target) (1:2) ->

"C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\BuildType\TFSBuild.proj" (CompileConfiguration target) (1:3) ->

"C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\BuildType\TFSBuild.proj" (CompileSolution target) (1:4) ->

"C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\Sources\TestSolution.sln" (default target) (6) ->

"C:\Users\tfsservice\AppData\Local\Temp\TestProduct\TestSolution\Sources\WebDeployment\WebDeployment.wdproj" (default target) (48) ->

(CreateVirtualDirectory target) ->

C:\Program Files\MSBuild\Microsoft\WebDeployment\v9.0\Microsoft.WebDeployment.targets(676,5): error : Some or all identity references could not be translated.

我确保NETWORK SERVICE帐户有权访问所有网络文件夹。有什么想法吗?

1 个答案:

答案 0 :(得分:0)

您可能没有在构建TFS服务器上安装Web部署项目。

本文应该为您提供更多信息

RTW version of Visual Studio 2008 Web Deployment Projects