Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
- DefaultTargets="SSDTDeploy">
- <Target Name="SSDTDeploy" Condition="'$(SSDTProj)' != ''">
- <Message Text="**************Publishing Database project: $(SSDTProj)**************" />
- <PropertyGroup>
- <ProjectPath>$(MSBuildProjectDirectory)\..\..\$(SOLUTION)\$(SSDTProj)</ProjectPath>
- </PropertyGroup>
- <!--The following command-line assumes that you have a publish file at ..\<ProjectRoot>\Publish\$(ENVIRONMENT)_$(USERNAME).publish.xml-->
- <Exec Command=""$(PROGRAMFILES)\Microsoft SQL Server\110\DAC\bin\sqlpackage.exe" /a:Publish /sf:$(ProjectPath)\bin\$(CONFIGURATION)\$(SSDTProj).dacpac /pr:$(ProjectPath)\Publish\$(ENVIRONMENT).publish.xml />
- </Target>
- </Project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement