开发多个 Visual Studio 2010 扩展 [英] Developing multiple Visual Studio 2010 extensions

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

问题描述

我正在不同的解决方案中开发几个独立的 Visual Studio 扩展.当我打开其中一个并在调试器中启动实验实例时,其他解决方案(未打开)的其他扩展也被加载.一定有一种方法可以一次只在实验实例中启动一个扩展程序(尤其是您当前正在开发的扩展程序),对吗?

Im working on a couple of independent Visual Studio extensions in separate solutions. When I open one of them and launch the experimental instance in the debugger, the other extensions from the other solutions (which aren't open) are loaded as well. There must be a way to only launch one extension in the experimental instance at a time (in particular the one you're currently working on), right?

推荐答案

并非如此.在 VS 中构建和运行扩展项目时,它实际上是部署到 VS 的实验实例中,但是当您完成调试/运行时,它们不会被卸载.

Not really. When you build and run the extension project in VS, it is actually deployed to the experimental instance of VS, but they're not uninstalled when you finish debugging/running.

最好的办法是使用脚本来重置 VS SDK 提供的实验实例.不幸的是,您每次在解决方案之间切换时都必须这样做.

Your best bet is to use the script to reset the experiment instance that is provided with the VS SDK. Unfortunately you'll have to do this every time you switch between your solutions.

在开始菜单中查找:

Microsoft Visual Studio 2010 SDK\Tools\Reset the Microsoft Visual Studio 2010 Experimental instance.lnk

这篇关于开发多个 Visual Studio 2010 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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