I am trying to implement continuous integration with SQL Server 2014 as my target database.
My publish.xml
file looks like this
TargetConnectionString>Data Source=~~~~~~~~;Integrated Security=True;Pooling=False
And my build definition file looks like this
Items to build --> Build $/First Project/Database1/Database1.sln with default platform and configuration
MSBuild Arguments -->
/t:Build /t:Publish /p:SqlPublishProfilePath=Database.publish.xml /p:VisualStudioVersion=12.0
But when I queue my build, it fails with below weird error.
C:\a\bin\Database1.publish.sql: The source file 'C:\a\src\DB Project\Database1\Database.publish.xml' could not be opened ('The system cannot find the specified file. ').
Not sure why is it pointing to C:\a\src
path whereas my project is located in a different location.
If you have any suggestion to fix this issue, please let me know.