Source

presentation-knockoutjs / setup.ps1

Full commit
# Shut down unneeded processes
#PrepareDemoEnvironment

# First clean the target directory
#Get-ChildItem C:\development\demo\MVCScaffolding -recurse | Remove-Item -Recurse -Force

# Copy Snippets
$ScriptDir = Split-Path $MyInvocation.MyCommand.Path -Parent

copy-item $ScriptDir\snippets\Knockout-HtmlSnippets -Destination "$env:userprofile\Documents\Visual Studio 2010\Code Snippets\Visual Web Developer\My HTML Snippets" -Recurse -Force
copy-item $ScriptDir\snippets\Knockout-JSSnippets -Destination "$env:userprofile\Documents\Visual Studio 2010\Code Snippets\Visual Web Developer\My JScript Snippets" -Recurse -Force
#copy-item $ScriptDir\snippets\knockout-Snippets -Destination "$env:userprofile\Documents\Visual Studio 2010\Code Snippets\Visual C#\My Code Snippets" -Recurse -Force

#copy-item $ScriptDir\src\Begin\TaskManager -Destination C:\development\demo\Knockout -Recurse -Force


#Start-Process -FilePath C:\development\demo\MVCScaffolding\TaskManager\TaskManager.sln
#Start-Process -FilePath $ScriptsDir\docs\MVCScaffolding.pptx