Created
March 4, 2015 19:23
-
-
Save mskutta/922bbede194af6b27a27 to your computer and use it in GitHub Desktop.
(Part1) TDS Project Merge install.ps1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
param($installPath, $toolsPath, $package, $project) | |
[Reflection.Assembly]::LoadFile($toolsPath + "\OneNorth.TDSProjectMerge.dll") | |
try { | |
$tdsProject = Get-TDSProject("Master") | |
if ($tdsProject) { | |
Merge-TDSProject $tdsProject $installPath "TDS.Master" "TDS.Master.scproj" | |
} | |
$tdsProject = Get-TDSProject("Core") | |
if ($tdsProject) { | |
Merge-TDSProject $tdsProject $installPath "TDS.Core" "TDS.Core.scproj" | |
} | |
} catch { | |
Write-Error $_.Exception.Message | |
throw | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment