Getting InvalidExtensionManifestException while installing the developed vscode extension. #1254
-
Logs: 6/23/2025 10:02:15 PM - Microsoft VSIX Installer I would like to find the root cause of this issue.
Installed via all the three ways still unable to reproduce the issue.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @sairaja, I worked with copilot on this one and it returned an explanation along with a series of steps to try out. Let me know if the following helped & if not, reopen. The error log you've provided points to a Microsoft.VisualStudio.ExtensionManager.InvalidExtensionManifestException, specifically mentioning that the Identity element has an invalid value for the Version attribute. This exception is thrown during the parsing of the extension's manifest file (.vsixmanifest), indicating that the version string provided does not conform to the expected format. Root Cause Analysis
Steps to Diagnose and Fix
Given the details, focusing on the version string's generation and modification process, along with a thorough review of the .vsixmanifest file in different build scenarios, should help isolate and resolve the issue. |
Beta Was this translation helpful? Give feedback.
Hi @sairaja,
I worked with copilot on this one and it returned an explanation along with a series of steps to try out. Let me know if the following helped & if not, reopen.
The error log you've provided points to a Microsoft.VisualStudio.ExtensionManager.InvalidExtensionManifestException, specifically mentioning that the Identity element has an invalid value for the Version attribute. This exception is thrown during the parsing of the extension's manifest file (.vsixmanifest), indicating that the version string provided does not conform to the expected format.
Root Cause Analysis
Invalid Version Format: The core of the issue lies in the Version attribute of the Identity element within t…