This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#PowerShell modules need to enable script execution | |
Set-ExecutionPolicy -Scope CurrentUser -ExecutionPolicy Bypass -Force; | |
#Chocolatey | |
write-host "Installing Chocolatey module" | |
Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1')) | |
#BoxStarter depends of Chocolatey | |
write-host "Installing Boxstarter module" | |
CINST Boxstarter -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#paths to the project templates on your system, getting ClassLibrary template on FrameworkVersion = 4.7 | |
$global:classTemplate = $dte.Solution.GetProjectTemplate("csClassLibrary.vstemplate|FrameworkVersion=4.7", "CSharp") | |
$global:webTemplate = $dte.Solution.GetProjectTemplate("EmptyWebApplicationProject40.vstemplate", "CSharp") | |
#variable to set framework verison of web applications projects | |
$global:frameworkVersion = "4.7" | |
#variable used to store the path for the empty Habitat folder | |
$global:helixPath ="" | |
#empty variable used to store the solution name |