Skip to content

Support updating an extension to more specific target platform version #141696

@Colengms

Description

@Colengms

We just published 1.8.1 (prerelease) of the C/C++ extension to the marketplace. I watched my local VS Code instance pick up the updated version, which promptly failed to execute properly. I noticed the following within it's .vsixmanifest:

<Identity Language="en-US" Id="cpptools" Version="1.8.1" Publisher="ms-vscode" TargetPlatform="win32-arm64"/>

This was on x64 Windows 11, yet the ARM64 VSIX was installed.

I actually encountered what was undoubtedly the same issue the last time we published, but was unable to reproduce it. It looks like the marketplace is updating clients to mismatching platform-specific VSIX's if the matching VSIX has not yet completed 'validation'. This issue only occurs for a brief window of time after we publish our VSIX's. But, I believe any user encountering this issue will need to delete the extension from their system (as Uninstall and reinstalling will reuse the cached extension folder).


Version: 1.63.2 (user setup)
Commit: 899d46d
Date: 2021-12-15T09:40:02.816Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions