Custom Extension not showing up within experimental instance

巧了我就是萌 提交于 2019-12-10 18:53:06

问题


I have a VSIX extension that I created which shows up in Visual Studio 2010 and works as designed.

However I am attempting to build some Visual Studio automation which relies on this Extension and although its present in the project where I am building my automation package, when I run the package project, the visual studio experimental solution loads no problem, however when I look within the Extension Manager I do not see my registered Extension (even though it shows up within my Visual Studio project where I am building my extension.

The extension is a custom shell for LightSwitch which may be a clue as to why it is not showing within my experimental instance of Visual Studio, not sure as I see other extensions I built and registered for LightSwitch showing up.

Of course my issue is that when I attempt to load a solution that has a dependency on my LightSwitch extension, which otherwise loads fine outside of the Experimental Instance, fails due to the fact it can't locate my custom extension when I try to load the solution within my experimental solution.


回答1:


Try to reset Exp hive. Click on Start>All Programs>Visual Studio SDK>Reset the Experimental hive.

Also you should check that you run/debug your extension via custom debug command in IDE 'devenv /RootSuffix exp'.

What I always did when similar problems appear - I checked what I have in windows registry for experimental hive (whther all the parts of my extension are registered OK there)



来源:https://stackoverflow.com/questions/10155697/custom-extension-not-showing-up-within-experimental-instance

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!