SHARE
TWEET

msbuild script for building SSIS .spac files

jamiet Aug 28th, 2012 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?xml version="1.0" encoding="Windows-1252"?>
  2. <Project  xmlns="http://schemas.microsoft.com/developer/msbuild/2003"
  3.          DefaultTargets="SSISBuild">
  4.   <!--The latest (at the time of writing) source code for Microsoft.SqlServer.IntegrationServices.Build.dll can be found at http://sqlsrvintegrationsrv.codeplex.com/SourceControl/changeset/89858-->
  5.   <UsingTask TaskName="DeploymentFileCompilerTask" AssemblyFile="$(VS100COMNTOOLS)\..\IDE\PrivateAssemblies\Microsoft.SqlServer.IntegrationServices.Build.dll" />
  6.   <Target Name="SSISBuild" Condition="'$(SSISProj)' != ''">
  7.     <PropertyGroup>
  8.       <SSISProjPath>..\..\$(SOLUTION)\$(SSISProj)\$(SSISProj).dtproj</SSISProjPath>
  9.     </PropertyGroup>
  10.     <Message Text="**************Building SSIS project: $(SSISProjPath) for configuration: $(CONFIGURATION)**************" />
  11.     <DeploymentFileCompilerTask
  12.      InputProject="$(SSISProjPath)"
  13.      Configuration="$(CONFIGURATION)"
  14.      ProtectionLevel="DontSaveSensitive">
  15.     </DeploymentFileCompilerTask>
  16.   </Target>
  17. </Project>
RAW Paste Data
Top