Skip to content

Commit

Permalink
[Windows] Add more compatible VS2022 VC components (#9876)
Browse files Browse the repository at this point in the history
* [Windows] Add more compatible VS2022 VC components

* Updated chocolatey installation to use new certificate thumbprint

* Azure CosmosDb Emulator SHA256 updated

---------

Co-authored-by: Jack Hennessey <[email protected]>
  • Loading branch information
erik-bershel and jhennessey authored May 20, 2024
1 parent e2a8bbc commit a38a062
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@

Install-Binary -Type MSI `
-Url "https://aka.ms/cosmosdb-emulator" `
-ExpectedSHA256Sum "e2915c766a02d0c0703ae12b28ef992c4f62fe33e65eb482abeeaaaf0ea85237"
-ExpectedSHA256Sum "6312237EE3E06C730F8DCFB3D26F5202D9E713C0603039231A72DB56DD2605B4"

Invoke-PesterTests -TestFile "Tools" -TestName "Azure Cosmos DB Emulator"
2 changes: 1 addition & 1 deletion images/windows/scripts/build/Install-Chocolatey.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Add-MachinePathItem 'C:\ProgramData\Chocolatey\bin'
Update-Environment

# Verify and run choco installer
$signatureThumbprint = "83AC7D88C66CB8680BCE802E0F0F5C179722764B"
$signatureThumbprint = "B009C875F4E10FFBC62B785BAF4FC4D6BC2D5711"
$installScriptPath = Invoke-DownloadWithRetry 'https://chocolatey.org/install.ps1'
Test-FileSignature -Path $installScriptPath -ExpectedThumbprint $signatureThumbprint
Invoke-Expression $installScriptPath
Expand Down
2 changes: 2 additions & 0 deletions images/windows/toolsets/toolset-2022.json
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@
"Microsoft.VisualStudio.Component.VC.Tools.ARM",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64",
"Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
"Microsoft.VisualStudio.Component.VC.Modules.x86.x64",
"Microsoft.VisualStudio.Component.VC.Redist.MSM",
"Microsoft.VisualStudio.Component.VC.Runtimes.ARM.Spectre",
Expand All @@ -224,6 +225,7 @@
"Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre",
"Microsoft.VisualStudio.Component.VC.ATLMFC",
"Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre",
"Microsoft.VisualStudio.Component.VC.ATL",
"Microsoft.VisualStudio.Component.VC.ATL.Spectre",
"Microsoft.VisualStudio.Component.VC.ATL.ARM",
"Microsoft.VisualStudio.Component.VC.ATL.ARM.Spectre",
Expand Down

0 comments on commit a38a062

Please sign in to comment.