昨天把以前在vs2003下面,写的一个vs环境插件升级到2010,生成安装程序后,之前在菜单栏里有显示,删除重新安装后,在外接程序管理器里,再也发现不了我的插件了。
目前通过上面方法解决
在
C:\Documents and Settings\Administrator\My Documents\Visual Studio 2010\Addins
目录下面创建一个插件配置文件
<?
xml version="1.0" encoding="UTF-16" standalone="no"
?>
< Extensibility xmlns ="http://schemas.microsoft.com/AutomationExtensibility" >
< HostApplication >
< Name > Microsoft Visual Studio </ Name >
< Version > 10.0 </ Version >
</ HostApplication >
< Addin >
< FriendlyName > Lily.DevAddin - ***开发部。 </ FriendlyName >
< Description > Lily.DevAddin - ***开发辅助工具。 </ Description >
< Assembly > C:\Program Files\LilyVsHelper for 2010\Lily.DevAddin.dll </ Assembly >
< FullClassName > Lily.DevAddin.Connect </ FullClassName >
< LoadBehavior > 1 </ LoadBehavior >
< CommandPreload > 0 </ CommandPreload >
< CommandLineSafe > 0 </ CommandLineSafe >
</ Addin >
</ Extensibility >
< Extensibility xmlns ="http://schemas.microsoft.com/AutomationExtensibility" >
< HostApplication >
< Name > Microsoft Visual Studio </ Name >
< Version > 10.0 </ Version >
</ HostApplication >
< Addin >
< FriendlyName > Lily.DevAddin - ***开发部。 </ FriendlyName >
< Description > Lily.DevAddin - ***开发辅助工具。 </ Description >
< Assembly > C:\Program Files\LilyVsHelper for 2010\Lily.DevAddin.dll </ Assembly >
< FullClassName > Lily.DevAddin.Connect </ FullClassName >
< LoadBehavior > 1 </ LoadBehavior >
< CommandPreload > 0 </ CommandPreload >
< CommandLineSafe > 0 </ CommandLineSafe >
</ Addin >
</ Extensibility >
把程序集改成你具体插件的程序集就可以了。