When installing the HTML for JavaScript Visual Studio extension for Visual Studio 2022 it fails with the following error:
This error can be resolved with a little effort:
catalog.json
file inside the VSIX folder and find the entry for Microsoft.VisualStudio.Component.CoreEditor
and update it to be "Microsoft.VisualStudio.Component.CoreEditor":"[17.0,18.0)
extension.vsixmanifest
file inside the VSIX folder and update the file with the changes below:Lines 12 through 18 updates to:
<Installation>
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0,18.0)" />
<InstallationTarget Id="Microsoft.VisualStudio.Community" Version="[17.0, 18.0)">
<ProductArchitecture>amd64</ProductArchitecture>
</InstallationTarget>
</Installation>
Line 22 updates to:
<Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[17.0,18.0)" DisplayName="Visual Studio core editor" />