VS 2015 MSBuild Deploy Database Project Error
<p>I'm having an issue using VS 2015 MSBuild to deploy a database project via the command line.  The issue is I need to be able to use MSBuild with 14.0 only, without VS 2013 installed.</p>

<p>I'm using 14.0 MSBuild at:</p>

<p><code>C:\Program Files (x86)\MSBuild\14.0\Bin\MSBuild.exe</code></p>

<p>The following works because I also have Visual Studio 2013 installed with the appropriate SQL Server Data Tools:</p>

<p><code>MSBUILD "C:\Users\XYZ\Desktop\temp\Testing\TestProject\TestProject.sqlproj" /t:build "/p:Platform=AnyCPU" /t:deploy "/p:TargetConnectionString=Data Source=localhost;IntegratedSecurity=True" /p:TargetDatabase=TestDeployDb /p:Configuration=Release /p:VisualStudioVersion=12.0
</code></p>

<p>However, if I change "VisualStudioVersion" to "14.0 for VS 2015, I get an error:</p>

<p><code>Deploy error Deploy72002: Unable to connect to master or target server 'TestDeployDb'. You must have a user with the same password in master or target server 'TestDeployDb'.
</code></p>