c# - 为什么在 4 月份从一体化代码框架中删除了所有 C# Shell 扩展示例?

标签 c# .net contextmenu windows-shell

此处描述了示例和代码:

http://blogs.msdn.com/b/codefx/archive/2010/09/14/writing-windows-shell-extension-with-net-framework-4-c-vb-net-part-1.aspx

框架本身可以在这里找到:

http://1code.codeplex.com/releases

但是,所有 shell 扩展示例都在 4 月份被删除,除了这条提交消息外,我找不到任何解释:

http://1code.codeplex.com/SourceControl/changeset/changes/63354

现在有人知道为什么要删除示例吗?以前版本中可用的早期示例是否有效? (我无法让它们工作,但这可能只是我)。

最佳答案

从第一个链接的博客文章中可以清楚地看到,以亮黄色突出显示:

In .NET 4, with the ability to have multiple runtimes in process with any other runtime, writing managed shell extensions becomes possible. However, Microsoft has not fully tested all of the scenarios involved with managed shell extensions and has not determined whether it will support managed shell extensions for the long term. Therefore, Microsoft will not support managed shell extensions and recommends against writing them.

当他们“建议不要写它们”时,他们也不能举例说明如何写它们。有关意外副作用的示例,请查看此 feedback article .

关于c# - 为什么在 4 月份从一体化代码框架中删除了所有 C# Shell 扩展示例?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6815149/

相关文章:

c# - 如何在 C# 中强制使用方法的返回值?

c# - 如何签署 Visual Studio .msi 的安装文件

javascript - 取消 JavaScript 按钮时关闭弹出窗口。

javascript - 以编程方式显示 Chrome 内容脚本中的默认上下文菜单

javascript - 从上下文菜单中禁用粘贴选项

c# - 标识为 [x] 的项目已存在于元数据集合中。我该如何解决?

c# - Unity接触点无碰撞器

c# - 带按钮控件的 DataGridView - 删除行

c# - 在 Java 中使用 WCF .svc WebService

python - Python .py 文件的上下文菜单 "Open with IDLE"被吹走了