Detect current VSIX package's version from code
问题 I am writing a VSIX project and I would like for the code to be able to determine whether an update is available. I know Visual Studio would be able to check for the update, however, I would like for the extension to be able to prompt user (developer) more verbosely. I wonder how could make the extension read its own version from the package manifest? Thank you. 回答1: I found that I could read the version information directly from the manifest XML file. var doc = new XmlDocument(); doc.Load