将VSGallery页面从VSIX更改为URL [英] Change a VSGallery page from VSIX to URL

查看:88
本文介绍了将VSGallery页面从VSIX更改为URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在我们产品的VSGallery上拥有一个页面,该页面已经上传了VSIX. VSIX仅支持VS2010.我们有我们产品的下载记录,评分和费用记录的历史记录.

I own a page on the VSGallery for our product which already has a VSIX uploaded into it. The VSIX supports VS2010 only. We have a history of downloadds, ratings and feeback for our product.

现在VS2012已经发布,我们仅为VS2012创建了VSIX版本.它与VS2010不存在二进制兼容性,我希望不要在该版本的库上仅创建另一个克隆的页面.我希望保留现有页面 (我们的扩展名)(保留我们的反馈,评分和历史记录),并将其更改为将用户重定向到我们的CodePlex项目站点,以获取正确版本的VSIX(VS2010或VS2012).版本选择处理得更好的地方.

Now that VS2012 is out, we have created a version of our VSIX for VS2012 only. It is not binarily compatible with VS2010, and I would prefer not to create just another cloned page on the gallery for that version. I would prefer to keep the existing page for our extension (preserving our feedback, ratings and history), and change it to redirect the user to our CodePlex project site to get the correct version of the VSIX (VS2010 or VS2012). Where the version selection is handled better.

在整个Web UI中,似乎不可能从上传的VSIX更改为URL.

It does not seem it is possible (throught the web UI) to change from an uploaded VSIX to a URL.

这可以和画廊老板安排吗?

Can this be arranged with the Gallery owners please?

p.s.我知道不同的VSIX ==不同的VSIX.ID ==画廊中的不同页面",并且我想避免所有这些技术复杂性,以使我们的用户可以轻松地在任何地方找到下载并安装我们的产品版本 VS他们.

p.s. I am aware that 'a different VSIX == a different VSIX.ID == different page in gallery' and I want to avoid all that technical complexity for the sake of keeping it simple for our users to find download and install our product in whatever version of VS they have.

推荐答案

也许我们可以将两个不同的版本打包到一个VSIX中以用于不同的VS.

Maybe we can package two different version into one VSIX for different VS.

如果我们使用VS2010 SDK构建扩展,并按如下所示修改VSIXmanifest: 

If we build the extension with VS2010 SDK and modify the VSIXmanifest as following:  

   <SupportedProducts>
      <VisualStudio Version="10.0">
        <Edition>Pro</Edition>
      </VisualStudio>
      <VisualStudio Version="11.0">
        <Edition>Pro</Edition>
      </VisualStudio>
    </SupportedProducts>

此软件包将支持在具有VS2010 API的VS2010和VS2012下安装. 

一个问题是,此扩展程序能否在VS2012中正常运行?

One question is that can this extension run well in VS2012?

如果否,建议您为新的VSIX创建另一个页面,并在第一页中复制URL.

If no, I am suggesting you create another page for your new VSIX and copy the url in the first page.

希望这些信息会有所帮助.

Hope these information helps.

此致

Disley


这篇关于将VSGallery页面从VSIX更改为URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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