English 中文(简体)
TFS build - VSDBCMD.EXE cannot find deploymanifest
原标题:

I have the following problem.

I am trying to customize default TFS build process by adding a step where a database is deployed using the database project. I strictly followed these steps, the only difference is that I ve done it in another part of the workflow. However, DB deployment always fails with the following error: *** The deployment manifest file Database.Project.Name.deploymanifest does not exist.

Here is the command line that is executed:

C:Program Files (x86)Microsoft Visual Studio 10.0VSTSDBDeployVSDBCMD.EXE /a:Deploy /dd+ /dsp:Sql /cs:"Data Source=DB-Server;Initial Catalog=DB.Name;User Id=username;Password=password;" /manifest:Database.Project.Name.deploymanifest

I ve double-checked several things - VSDBCMD.EXE utility does exist on the specified path on the build server, Database.Project.Name.deploymanifest file does exist in the build drop directory, and BuildDetail.DropLocation (which is set as the Working Directory in the workflow) field does point to this directory. So it looks like everything should work - but it doesn t. What might be other possible causes of this problem? Thanks in advance.

最佳回答

Finally I ve found a workaround. Instead of BuildDetail.DropLocation I am using Build Agent s working directory. Please note that this is just a workaround, not a complete solution to the problem, and I still have no idea about why the deploymanifest file was not available. However, this approach at least works...

问题回答

暂无回答




相关问题
What is the variable signifying the TFS project name?

I am creating a Team Foundation Server (TFS) 2008 build agent for a project of mine. For the working directory, we don t use the default $(Temp)$(BuildDefinitionPath). Instead of Temp, we use a ...

TFS 2008 Build Release Note Like Report

I would like to get some visibility of what changes have gone into our TFS build. Is there some way of finding out all of the resolved work items that have gone into the last X number of builds up to ...

Building select projects only with Team Foundation Build

I’m trying to set up Team Foundation Build and so far it’s running ok with builds, tests and code analysis. My problem is, that I can’t figure out how to build just a subset of the projects included ...

Team Foundation Build (2008) minus the .sln files?

Setting up a new team build in tfs build 2008, you re forced to select a .sln file for your build definition. I ve read through Microsoft.TeamFoundation.Build.Targets, and from what I understand, all ...

Deploy web applications and windows services using TFS 2010

Just went from TFS 2008 to 2010 at a client site and now wondering what happened to the TFSBuild.proj files from the TeamBuildTypes folder. I ve already got the builds and drops working and now I need ...

TFSBuild.Proj and Manual SQL Server Work Help?

Using the VS 2008 GDR update, I have created a database project. I have created a SQL Server deployment package. I have created a database unit test. Using some wizards, the stuff got into my ...

热门标签