Skip to content

Commit

Permalink
Remove the option to specify VS path
Browse files Browse the repository at this point in the history
  • Loading branch information
vitek-karas committed Jan 17, 2020
1 parent 2b386fc commit 6b785e3
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions eng/build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ Param(
[string][Alias('c')]$configuration = "Debug",
[string][Alias('f')]$framework,
[string]$vs,
[string]$vspath,
[string]$os,
[switch]$allconfigurations,
[switch]$coverage,
Expand Down Expand Up @@ -44,7 +43,6 @@ function Get-Help() {

Write-Host "Libraries settings:"
Write-Host " -vs Open the solution with VS for Test Explorer support. Path or solution name (ie -vs Microsoft.CSharp)"
Write-Host " -vspath Path to the VS to use (devenv.exe) - to be able to run with preview VS versions"
Write-Host " -framework Build framework: netcoreapp or netfx (short: -f)"
Write-Host " -coverage Collect code coverage when testing"
Write-Host " -testscope Scope tests, allowed values: innerloop, outerloop, all"
Expand Down Expand Up @@ -97,12 +95,7 @@ if ($vs) {
$env:PATH=($env:DOTNET_ROOT + ";" + $env:PATH);

# Launch Visual Studio with the locally defined environment variables
if ([string]::IsNullOrEmpty($vspath)) {
."$vs"
}
else {
& $vspath $vs
}
."$vs"

exit 0
}
Expand Down

0 comments on commit 6b785e3

Please sign in to comment.