外壳扩展使用.NET 4.0 [英] Shell extensions with .NET 4.0

查看:143
本文介绍了外壳扩展使用.NET 4.0的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何一个有怎样的菜单项添加到浏览器的外壳与.NET的任何文档或例子。

Any one have any docs or examples of how to add menu items to the explorer shell with .NET.

只能找到信息说这应该是可能的,现在在.NET 4.0但不知道如何做到这一点。

Can only find info saying it should be possible now with .NET 4.0 but not how to do it.

推荐答案

MSDN杂志有关于托管外壳扩展了一篇长早在2004年:

MSDN Magazine had an article about managed shell extensions long back in 2004:

创建命名空间扩展的Windows资源管理器与.NET Framework

Create Namespace Extensions for Windows Explorer with the .NET Framework

我不认为基本机制已经改变了.NET 4.0。所不同的是,虽然使用.NET 4.0,你可以放心地忽略那篇文章(...微软建议不要编写托管外壳扩展...)的顶部的红色警告,因为4.0版本的CLR可以被托管并排-side与其他版本中相同的过程。这有previously不可能。

I don't think that the basic mechanism has changed in .NET 4.0. The difference though is that with .NET 4.0 you can safely ignore the red warning on top of that article ("...Microsoft recommends against writing managed shell extensions...") because version 4.0 of the CLR can be hosted side-by-side with other versions in the same process. This has previously not been possible.

更新:

的All-In-One的code框架 现在包含一个<一个href="http://blogs.msdn.com/b/$c$cfx/archive/2010/09/08/microsoft-all-in-one-$c$c-framework-new-samples-updated-on-2010-09-06.aspx"相对=nofollow>例如,对于托管外壳扩展(CSShellExtContextMenuHandler)。

The All-In-One Code Framework now contains an example for managed shell extensions (CSShellExtContextMenuHandler).

这篇关于外壳扩展使用.NET 4.0的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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