禁止“无可用来源"2010 年的窗格 [英] Suppress "No Source Available" pane in 2010

查看:46
本文介绍了禁止“无可用来源"2010 年的窗格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

阿格!我有一个自定义的线束"可执行文件运行我的类库项目.每次我进入线束的代码时,都会弹出无源可用"窗格.据我所知,没有可用的资源,这完全是预料之中的,我不希望每次都弹出这个非常具有侵入性和无用的窗格.我怎样才能完全压制它?

Arg! I have a custom "harness" executable running my class library project. Every time I step into the harness's code, I get that "No Source Available" pane popping up. As I know there is no source available, and that this is completely expected, I don't want this very intrusive and useless pane popping up every time. How can I suppress it completely?

我至少可以通过使该窗口成为另一个较小窗格集的一部分来使其更小,例如使用手表/本地人.每次运行它都会记住它的位置,但它仍然没有用.

I can make it smaller at least by making that window part of another smaller pane-set, such as with the watches/locals. It remembers its location from run to run, but its still useless.

这个问题可能有一个更一般的答案 - 我怎样才能完全禁止显示任何特定的窗格/窗口?我有一个 VSX 包,最初是为 VS 2008 构建的(并且必须保持这种兼容性),但我只是不知道要运行什么命令来完成它.(我委托了包裹,所以我有来源,但没有专业知识.这似乎是一个/两个班轮).

There might be a more general answer to this question - how can I suppress any particular pane/window from showing at all? I have a VSX package, originally built for VS 2008 (and must keep that compatibility) but I just don't know what command to run to do it. (I had the package commissioned, so I have the source, but not the know-how. This seems like a one/two liner).

谢谢!

推荐答案

在没有找到这方面的帮助后,我自己钻了进去,并通过隐藏 WindowFrame 来修复它,以防它显示出来.到目前为止,我没有看到任何视觉刷新故障.

After finding no help on this, I dug in to it myself and fixed it by Hiding the WindowFrame in the event that it is shown. There is no visual refresh glitch that I've seen so far.

这是无源可用"窗格的 GUID:{1820bae5-c385-4492-9de5-e35c9cf17b18}

Here is the GUID for the "No Source Available" pane: {1820bae5-c385-4492-9de5-e35c9cf17b18}

我从这篇文章中找到了我需要的大部分内容:

I found most of what I needed from this post:

http://blogs.msdn.com/dr._ex/archive/2004/11/07/253601.aspx

我相信这只会影响加载此包的解决方案,但我真的不知道如果相关项目关闭,包是否保持加载/活动状态.

I believe this will only affect solutions with this package loaded, but really I don't know if the package stays loaded/active if the related project is closed.

这篇关于禁止“无可用来源"2010 年的窗格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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