Skip to content

Instantly share code, notes, and snippets.

@jhorsman
Created January 17, 2014 09:54
Show Gist options
  • Save jhorsman/8470839 to your computer and use it in GitHub Desktop.
Save jhorsman/8470839 to your computer and use it in GitHub Desktop.
Restart Tridion services in Visual Studion pre-build and post-build events. See https://gist.github.com/jhorsman/6931759 for PowerShell scripts. Run the post-build event always to start services after a failed build.
powershell -file "$(SolutionDir)tools\Tridion-services-start.ps1"
powershell -file "$(SolutionDir)tools\Tridion-services-stop.ps1"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment