VS Code erroneously registers itself with as a .SVGZ handler #231021
Labels
bug
Issue identified by VS Code Team member as probable bug
install-update
VS Code installation and upgrade system issues
windows
VS Code on Windows issues
Milestone
Type: Bug
Upon installation on Microsoft Windows, Visual Studio Code registers itself as a handler for
.svgz
files. This is an egregious action because Visual Studio Code cannot handle this binary file type.Edit (2024-10-12): I've found one part of VSCode's source code responsible for this erroneous file association: https://github.com/microsoft/vscode/blob/main/build/win32/code.iss#L1120-L1124
Steps to reproduce:
Create a virtual machine with a clean version of a supported version of Windows 10
Download and install
VSCodeSetup-x64-1.94.1.exe
. Use the defaults.Create a
.svgz
file on your desktop.The fastest way to that is to open PowerShell 5.1 and issue the following command:
Double-click the newly created
.svgz
file.Expected result: Windows should inform the user that no app has been registered to handle this file type.
Actual result: Visual Studio Code launches, attempts to open the file, and fails.
VS Code version: Code 1.94.1 (e10f2369d0d9614a452462f2e01cdc4aa9486296, 2024-10-05T05:44:32.189Z)
OS version: Windows_NT x64 10.0.19045
Modes:
The text was updated successfully, but these errors were encountered: