Skip to content

Instantly share code, notes, and snippets.

@yetanotherchris
Created June 11, 2014 12:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yetanotherchris/741b3ca836e505d04c59 to your computer and use it in GitHub Desktop.
Save yetanotherchris/741b3ca836e505d04c59 to your computer and use it in GitHub Desktop.
# Project->Settings->Build->Before build script
(gc lib\Configs\connectionStrings.dev.config).replace('Server=(local);Integrated Security=true;Connect Timeout=5;database=Roadkill','Server=(local)\SQL2012SP1;Database=master;User ID=sa;Password=Password12!') | Out-File lib\Configs\connectionStrings.dev.config
(gc src\Roadkill.Tests\Setup\SqlExpressSetup.cs).replace('Server=(local);Integrated Security=true;Connect Timeout=5;database=Roadkill','Server=(local)\SQL2012SP1;Database=master;User ID=sa;Password=Password12!') | Out-File src\Roadkill.Tests\Setup\SqlExpressSetup.cs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment