TFS build - VSDBCMD.EXE cannot find deploymanifest

I have the following problem.

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

The following is the command line:

C:\Program Files (x86)\Microsoft Visual Studio 10.0\VSTSDB\Deploy\VSDBCMD.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 double-checked several things - the VSDBCMD.EXE utility exists at the specified path on the assembly server, the Database.Project.Name.deploymanifest file exists in the assembly reset directory and the BuildDetail.DropLocation (which is the work directory in the workflow) points to this directory . So it seems like everything should work, but it is not. What could be other possible causes of this problem? Thanks in advance.

+3
source share
1 answer

Finally, I found a workaround. Instead of BuildDetail.DropLocation, I use the Build Agent working directory. Please note that this is just a workaround and not a complete solution to the problem, and I still don't know why the deploymanifest file is not available. However, this approach at least works ...

+1

All Articles