From 9a33ec294c0823434ec8e9d606110f4e4b26a389 Mon Sep 17 00:00:00 2001 From: Dmitry Nefedov Date: Fri, 16 Aug 2024 23:28:45 +0300 Subject: [PATCH] Update Dependencies.ps1 --- Scripts/Dependencies.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/Dependencies.ps1 b/Scripts/Dependencies.ps1 index 81426de2..e47012c0 100644 --- a/Scripts/Dependencies.ps1 +++ b/Scripts/Dependencies.ps1 @@ -39,6 +39,6 @@ Invoke-RestMethod @Parameters # Extract Microsoft.Windows.SDK.NET.dll & WinRT.Runtime.dll from archive Add-Type -Assembly System.IO.Compression.FileSystem $ZIP = [IO.Compression.ZipFile]::OpenRead("Scripts\microsoft.windows.sdk.net.ref.zip") -$Entries = $ZIP.Entries | Where-Object -FilterScript {($_.FullName -eq "lib/net6.0/Microsoft.Windows.SDK.NET.dll") -or ($_.FullName -eq "lib/net6.0/WinRT.Runtime.dll")} +$Entries = $ZIP.Entries | Where-Object -FilterScript {($_.FullName -eq "lib/net8.0/Microsoft.Windows.SDK.NET.dll") -or ($_.FullName -eq "lib/net8.0/WinRT.Runtime.dll")} $Entries | ForEach-Object -Process {[IO.Compression.ZipFileExtensions]::ExtractToFile($_, "Scripts\$($_.Name)", $true)} $ZIP.Dispose()