some variable names clarifications

This commit is contained in:
Leonid Lapshin
2020-09-01 22:05:26 +03:00
parent 425d62e593
commit fdf40a931b
9 changed files with 46 additions and 52 deletions

View File

@@ -171,12 +171,12 @@ $markdown += New-MDNewLine
$markdown += New-MDHeader "Workloads, components and extensions:" -Level 4
$markdown += New-MDNewLine
$markdown += ((Get-VisualStudioComponents -VSInstallType "VS") + (Get-VisualStudioExtensions)) | New-MDTable
$markdown += ((Get-VisualStudioComponents -ProductType "VisualStudio") + (Get-VisualStudioExtensions)) | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Build Workloads and components:" -Level 4
$markdown += New-MDHeader "Build Tools Workloads:" -Level 4
$markdown += New-MDNewLine
$markdown += (Get-VisualStudioComponents -VSInstallType "BuildTools") | New-MDTable
$markdown += (Get-VisualStudioComponents -ProductType "BuildTools") | New-MDTable
$markdown += New-MDNewLine
$markdown += New-MDHeader "Microsoft Visual C++:" -Level 4

View File

@@ -23,7 +23,7 @@ function Get-VisualStudioExtensions {
# Wix
$vs = (Get-VisualStudioVersion).Name.Split()[-1]
$wixPackageVersion = Get-WixVersion
$wixExtensionVersion = ((Get-VisualStudioInstallation -VSInstallType "VS").Packages | Where-Object {$_.Id -match 'WixToolset.VisualStudioExtension.Dev' -and $_.type -eq 'vsix'}).Version
$wixExtensionVersion = ((Get-VisualStudioProduct -ProductType "VisualStudio").Packages | Where-Object {$_.Id -match 'WixToolset.VisualStudioExtension.Dev' -and $_.type -eq 'vsix'}).Version
# WDK
$wdkPackageVersion = Get-VSExtensionVersion -packageName 'Microsoft.Windows.DriverKit'