Skip to content

Commit 4ce1676

Browse files
committed
(GH-799) Remove redundant code
This commit removes redundant code from the build scripts.
1 parent 8165b87 commit 4ce1676

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

PowerShellEditorServices.build.ps1

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -114,19 +114,6 @@ task SetupDotNet -Before Clean, Build, TestHost, TestServer, TestProtocol, TestP
114114
$ENV:MSBuildExtensionsPath = $SDKVersionPath
115115
$ENV:MSBUILD_EXE_PATH = Join-Path -Path $SDKVersionPath -ChildPath 'MSBuild.dll'
116116

117-
# # Get currently installed VS Verion
118-
# DocFX may require - https://github.com/dotnet/docfx/issues/2491#issuecomment-371722477
119-
# $VisualStudioVersion = (Get-ItemProperty "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7" |
120-
# Get-Member -MemberType NoteProperty |
121-
# Where-Object { $_.Name -notlike 'PS*'} |
122-
# Sort-Object |
123-
# Select -First 1).Name
124-
# # Get Visual Studio install path
125-
# $VSINSTALLDIR = $(Get-ItemProperty "Registry::HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\SxS\VS7").$VisualStudioVersion;
126-
# # Add Visual Studio environment variables
127-
# $env:VisualStudioVersion = $VisualStudioVersion;
128-
# $env:VSINSTALLDIR = $VSINSTALLDIR;
129-
130117
Write-Host "`n### Using dotnet SDK at path $SDKVersionPath" -ForegroundColor Green
131118
} else {
132119
throw "Unable to find any SDKs in path $SDKPath"

0 commit comments

Comments
 (0)