Visual Studio 2005扩展/插入视觉工作室2017年的渐变 [英] Visual studio 2005 extension/plugin up gradation to visual studio 2017

查看:80
本文介绍了Visual Studio 2005扩展/插入视觉工作室2017年的渐变的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有一个在Visual Studio中构建自定义工具菜单项的项目,即Visual Studio 2005的扩展插件项目。



现在我需要升级这个项目,以便它应该像VS2017的插件/扩展一样。



我的第一个问题是,我们是否有可能将此项目类型从Vs2005升级到Vs2017扩展。我做了一点谷歌,我可以看到每个博客都说用VSIX项目类型来构建扩展。但是在VS2005天这样的扩展项目不存在。(这是我的猜测)



2)我试图升级项目一些如何和构建安装程序。但是在安装后我看不到Vs2017工具栏中的任何插件可见性,这是​​预期的。







请提供您的意见,如果有任何解决方案,那将会很棒



我尝试过的方法:



我试图升级项目一些如何和构建安装程序。但是在安装后我看不到工具栏中任何插件可见性到Vs2017,这是预期的。

Hi,

I have a project which builds a custom tool menu item in Visual Studio i.e an extension add-in project to visual Studio 2005.

Now I need to upgrade this project so that it should behave as plugin/extension for VS2017.

My first question is, Do we have possibility to upgrade this project type from Vs2005 to Vs2017 extension. I did little bit of google and I can see every blog saying to play with VSIX project type to build an extension. But in VS2005 days such extension project doesnt exist.(This is my guess)

2) I tried to upgrade the project some how and building installer. But after installation I cannot see any plugin visibility in tool bar to Vs2017 , which is expected.



Please give your inputs and it will be great if any solution do exist

What I have tried:

I tried to upgrade the project some how and building installer. But after installation I cannot see any plugin visibility in tool bar to Vs2017 , which is expected.

推荐答案

参见开始开发Visual Studio扩展 - Visual Studio | Microsoft Docs [ ^ ]。


我只是创建一个新的扩展项目(VSIX Project)。验证您是否已更新您的知识并可以安装/卸载新的VSIX项目,并了解如何使用vs的实验实例(在项目属性页面上,您可以将构建中的vsix直接部署到VS的实验实例)通过选中一个框调试你的扩展...)。启动并运行后,将现有代码移植到VS2017应该非常容易,因为据我所知,Automation-API不应该有太大变化,至少原理是相同的。
I'd just create a new extension project (VSIX Project). Verify you have updated your knowledge and can install/uninstall the new VSIX Project, and find out how to work with the "experimental instance" of vs (on Project properties page you can deploy your vsix on build directly to the experimental instance of VS to debug your Extension by checking a box...). With that up and running it should be quite easy to port your existing code to VS2017 because as far as i remember the Automation-API shouldn't have changed much, at least the principles are the same.


这篇关于Visual Studio 2005扩展/插入视觉工作室2017年的渐变的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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