Skip to content

Instantly share code, notes, and snippets.

@naveed-ahmad-biz
naveed-ahmad-biz / HabitatSolutionScript.ps1
Created March 2, 2017 03:36 — forked from phaniav/HabitatSolutionScript.ps1
Updated the Visual Studio installation location using powershell environment variable
#paths to the project templates on your system
$global:classTemplate = "$env:VS140COMNTOOLS..\IDE\ProjectTemplatesCache\CSharp\Windows Root\Windows\1033\ClassLibrary\csClassLibrary.vstemplate"
$global:webTemplate = "$env:VS140COMNTOOLS..\IDE\ProjectTemplatesCache\CSharp\Web\1033\WebApplicationProject40\EmptyWebApplicationProject40.vstemplate"
#variable used to store the path for the empty Habitat folder
$global:helixPath =""
#empty variable used to store the solution name
$global:solutionName = ""