Created
May 25, 2017 16:08
-
-
Save RichieBzzzt/055f8a6dc81f4824d9d00847a54a5d83 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
$msbuild = "C:\Windows\Microsoft.Net\Framework\v4.0.30319\MSBuild.exe" | |
$MsBuilExists = Test-Path $msbuild | |
If ($MsBuilExists -ne $true) {write-host "msbuild does not exist at this location. Install Visual Studio 2015 (Community Edition should be adequate)"} | |
$buildFile = "C:\Users\Richie\Documents\ssis_guy\build_ssis.proj" | |
& $msbuild $buildFile |
This file contains hidden or 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
<Project ToolsVersion="4.0" | |
xmlns="http://schemas.microsoft.com/developer/msbuild/2003" | |
DefaultTargets="DevEnvInstaller"> | |
<Target Name="DevEnvInstaller"> | |
<PropertyGroup> | |
<DevEnv>C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\devenv.com</DevEnv> | |
<SolutionFile>C:\Users\Richie\Documents\ssis_guy\ssis_guy.sln</SolutionFile> | |
<ProjectFile>C:\Users\Richie\Documents\ssis_guy\ssis_guy\ssis_guy.dtproj</ProjectFile> | |
<Configuration>Development</Configuration> | |
</PropertyGroup> | |
<Exec Command=""$(devenv)" "$(SolutionFile)" /Rebuild "$(Configuration)" /Project "$(ProjectFile)" /ProjectConfig "$(Configuration)" /Log" ContinueOnError="false" IgnoreExitCode="false" WorkingDirectory="$(MSBuildProjectDirectory)" /> | |
</Target> | |
</Project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment