我正在开发一个shell扩展,并且需要在托管上下文(.net 4运行时)中打开Windows资源管理器(explorer.exe)。我创建了explorer.exe.config文件,并已放入%windir%。 explorer.exe.config文件的内容如下。在.net运行库中打开explorer.exe
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<startup>
<requiredRuntime imageVersion="v4.0.30319" version="v4.0.30319" />
<supportedRuntime version="v4.0.30319" />
</startup>
</configuration>
但是,在.net运行时不会打开资源管理器。有没有更好的方法来做到这一点?
为了更加清楚,我希望explorer.exe及其类型在“附加到进程”窗口中显示为“托管”。
在此先感谢。
你为什么要创建'explorer.exe.config'?这没有意义。 – 2013-02-09 07:28:09
我在下面添加了评论。我正在根据组件的帮助来执行这些步骤。它有时适用于我,因为我可以调试我的外壳扩展。但它不一致。 – utkarsh 2013-02-09 15:15:00