File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,10 @@ Framework "4.6x86"
2121
2222task default - depends ?
2323
24+ Task SetEnvironment {
25+ Exec { & $env: VS140COMNTOOLS \vsvars32.bat }
26+ }
27+
2428task UpdateHeaders - description " Updates the headers in *.cs files" {
2529 $header = [System.IO.File ]::ReadAllText(" $buildDir \header.txt" )
2630
@@ -50,7 +54,7 @@ task Clean -description "Clean the output folder" {
5054 New-Item - Path $binDir - ItemType Directory | Out-Null
5155}
5256
53- task Setup - description " Setup environment" {
57+ task Setup - Depends SetEnvironment - description " Setup environment" {
5458 WriteColoredOutput - ForegroundColor Green " Restoring NuGet packages...`n "
5559
5660 Exec { .$nuget restore $packagesConfig " $sourceDir \UWP Community Toolkit.sln" } " Error pre-installing NuGet packages"
You can’t perform that action at this time.
0 commit comments