扩展版本信息 [英] extension version info

查看:66
本文介绍了扩展版本信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个扩展程序,为VS 2017提供菜单项和工具窗口。 我做了一些更新并构建了一个新版本。 我退出工作室并双击.vsix文件进行安装。

I'm developing an extension which provides a menu item and tool window for VS 2017.  I made some updates and built a new version.  I exited studio and double-clicked the .vsix file to install.

安装程序拒绝,说我已经安装了该扩展程序。

The installer refused, saying I already had that extension installed.

所以我认为它必须是版本#。 我尝试碰撞装配版本#但是没有效果。

So I figured it must be the version #.  I tried bumping the assembly version # but that had no effect.

如果我打开工具>>我看到了扩展和滚动查找我的,它显示v1.2。 很明显,在过去我一定已经弄清楚如何碰撞版本#,但现在我找不到它。

I see that if I open Tools >> Extensions and scroll to find mine, it shows v1.2.  So clearly in the past I must have figured out how to bump the version #, but now I can't find it.

事实上,我无法在项目的任何地方找到1.2文件!

In fact, I can't find 1.2 anywhere in the project files!

有人能指出我设置包的版本信息的位置,这样,当我有新版本时,我可以更新扩展而不必卸载和安装它?

Can someone point me to where I set the version info for the package such that, when I have a new version, I can update the extension as opposed to having to uninstall and install it?

推荐答案

您可以更改编辑source.extension.vsixmanifest文件的扩展名版本。
You can change extension version editing the source.extension.vsixmanifest file.


这篇关于扩展版本信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆