Skip to content

Instantly share code, notes, and snippets.

@danlister
Created June 29, 2014 21:44
Show Gist options
  • Save danlister/6f2cc44f6121060d90ea to your computer and use it in GitHub Desktop.
Save danlister/6f2cc44f6121060d90ea to your computer and use it in GitHub Desktop.
IF /I "%IN_PLACE_DEPLOYMENT%" NEQ "1" (
call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Source\Website\Project.csproj" /nologo /verbosity:m /t:Build /t:pipelinePreDeployCopyAllFilesToOneFolder /p:_PackageTempDir="%DEPLOYMENT_TEMP%";AutoParameterizationWebConfigConnectionStrings=false;Configuration=%branch% /p:SolutionDir="%DEPLOYMENT_SOURCE%\Solution\.\\" %SCM_BUILD_ARGS%
) ELSE (
call :ExecuteCmd "%MSBUILD_PATH%" "%DEPLOYMENT_SOURCE%\Source\Website\Project.csproj" /nologo /verbosity:m /t:Build /p:AutoParameterizationWebConfigConnectionStrings=false;Configuration=%branch% /p:SolutionDir="%DEPLOYMENT_SOURCE%\Solution\.\\" %SCM_BUILD_ARGS%
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment