Source

presentation-knockoutjs / setup.ps1

# 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
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.