File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ param (
2222
2323 # Actions
2424 [switch ][Alias (' r' )]$restore ,
25+ [switch ]$noRestore ,
2526 [switch ][Alias (' b' )]$build ,
2627 [switch ]$rebuild ,
2728 [switch ]$sign ,
@@ -104,6 +105,10 @@ function Process-Arguments() {
104105 $script :testVs = $True
105106 }
106107
108+ if ($noRestore ) {
109+ $script :restore = $False ;
110+ }
111+
107112 foreach ($property in $properties ) {
108113 if (! $property.StartsWith (" /p:" , " InvariantCultureIgnoreCase" )) {
109114 Write-Host " Invalid argument: $property "
Original file line number Diff line number Diff line change @@ -91,6 +91,9 @@ while [[ $# > 0 ]]; do
9191 --restore|-r)
9292 restore=true
9393 ;;
94+ --norestore)
95+ restore=false
96+ ;;
9497 --build|-b)
9598 build=true
9699 ;;
You can’t perform that action at this time.
0 commit comments