Skip to content

Commit

Permalink
[windows] Update Visual Studio Software Report (actions#11171)
Browse files Browse the repository at this point in the history
  • Loading branch information
shamil-mubarakshin authored Dec 13, 2024
1 parent 9a4df3f commit 625a3cb
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions images/windows/scripts/docs-gen/SoftwareReport.VisualStudio.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -43,18 +43,24 @@ function Get-VisualStudioExtensions {
)

# WDK
$wdkVersion = Get-WDKVersion
if (-not (Test-IsWin25)) {
$wdkVersion = Get-WDKVersion
$wdkPackages = @(
@{Package = 'Windows Driver Kit'; Version = $wdkVersion }
)
}

# WDK extension
$wdkExtensionVersion = Get-VSExtensionVersion -packageName 'Microsoft.Windows.DriverKit'
$wdkPackages = @(
@{Package = 'Windows Driver Kit'; Version = $wdkVersion }
$wdkExtensions = @(
@{Package = 'Windows Driver Kit Visual Studio Extension'; Version = $wdkExtensionVersion }
)

$extensions = @(
$vsixs
$ssdtPackages
$sdkPackages
$wdkPackages
$wdkExtensions
)

$extensions | Foreach-Object {
Expand Down

0 comments on commit 625a3cb

Please sign in to comment.