Last active
November 4, 2015 21:14
-
-
Save sdanna/e6ceda655f0cffb01a73 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
task Publish -depends Compile { | |
Remove-Item $build_dir -Recurse -Force -ErrorAction SilentlyContinue #Cleanup the build directory | |
exec { | |
msbuild $source_dir\$project_name.sln /property:DeployOnBuild=true /property:PublishProfile=$project_config /property:UserName=<IISManagerUserName> /property:Password=<IISManagerUserPassword> /property:AllowUntrustedCertificate=true /v:q /nologo /clp:ErrorsOnly | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment