[英]Visual Studio Tool Window Extension installs but window can't be seen
I've created a Visual Studio(Tool Window) Extension, which shows up fine (View/Other windows/ToolWindowName) when running experimental instance. 我已经创建了一个Visual Studio(工具窗口)扩展,在运行实验实例时它可以很好地显示(视图/其他窗口/ ToolWindowName)。
The problem is once I install it by clicking on VSIX file (so I can see it outside of the experimental instance) I can't find the window. 问题是,一旦我通过单击VSIX文件安装了它(这样我就可以在实验实例的外部看到它),我找不到该窗口。
How do I debug this? 我该如何调试? Is there a VS extension boot log?
是否有VS扩展引导日志? Is there a way to see list of all "running tool windows" in VS or maybe reset all positions?
有没有办法查看VS中所有“运行工具窗口”的列表,或者重置所有位置?
One last note, If I go to Visual Studio's installed extensions, it's there! 最后一点,如果我去Visual Studio的已安装扩展,它就在那里! Uninstalling and reinstalling doesn't seem to fix the issue.
卸载并重新安装似乎无法解决问题。
Please advise... 请指教...
Several avenues here, in order of relative ease/merit ratio: 这里有几种方法,按照相对难易程度的顺序:
Reset the Experimental Instance (Start Menu > All Programs > Visual Studio 2015 > Microsoft Visual Studio SDK > Tools > Reset the Visual Studio 2015 Experimental Instance) 重置实验实例(“开始”菜单>所有程序> Visual Studio 2015> Microsoft Visual Studio SDK>工具>重置Visual Studio 2015实验实例)
Look at your Visual Studio Activity Log (this VS2015 extension will make this considerably easier to do) 查看您的Visual Studio活动日志(此VS2015 扩展将使此操作变得相当容易)
Delete your temporary Asp.Net files (you never know) 删除您的临时Asp.Net文件(您永远不会知道)
Clone and rename your extension, and I mean fully rename it ie 克隆并重命名您的扩展名,我的意思是将其完全重命名,即
new names within VSPackage.cs (options annotations spring to mind) VSPackage.cs中的新名称(选项注释浮现在脑海)
new values within VSIX manifest file (name, product id guid, version) VSIX清单文件中的新值(名称,产品ID GUID,版本)
new assembly name within project properties 项目属性中的新装配名称
worst case (but one I personally experienced) new solution name and/or new project(s) name and/or new file name(s) and/or options collection path and/or options property name 最坏的情况(但我个人经历过)是新的解决方案名称和/或新项目名称和/或新文件名称和/或选项收集路径和/或选项属性名称
Join the Gitter VS Extensibilty room and ask a question (ideally on the third Thursday of the month from 17:00-19:00 UTC, 10:00-12:00 PST, 18:00-20:00 CET) 加入Gitter VS Extensibilty室并提出问题(最好在本月的第三个星期四,UTC 17:00-19:00,PST 10:00-12:00,CET 18:00-20:00)
Clutching at straws...try installing your VSIX from a different source ie instead of double-clicking the VSIX file, publish your VSIX (eg to the VSIX gallery ) & install it from there, and see if that makes any difference 抓紧稻草...尝试从其他来源安装VSIX,而不是双击VSIX文件,发布VSIX(例如到VSIX gallery )并从那里安装它,看看是否有什么不同
我不记得我为解决此问题所做的事情,但是这是一个用户错误,无法跟踪VS窗口的打开位置。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.