Sab*_*ncu 3 .net debugging windows-7
几本书(T. Soulami的Windows调试[2012],A. Troelsen的Pro C#with .NET 3.0)指定mscoree.dll作为system32文件夹的位置.但是,在我的32位Windows 7系统上,mscoree.dll文件有两个实例,位于以下位置:
C:\Windows\winsxs\x86_netfx-mscoree_dll_31bf3856ad364e35_6.2.7600.16513_none_7daed23956119a9f
C:\Windows\winsxs\x86_netfx-mscoree_dll_31bf3856ad364e35_6.2.7601.17514_none_7f96335553371a30
Run Code Online (Sandbox Code Playgroud)
此外,我的印象是(应该)只有一个版本的这个在.NET可执行引导过程中使用的填充程序DLL.
会很感激解释.
当然,从Vista开始,这是一个隐藏得很好的Windows实现细节.c:\ windows\system32目录的内容不是文件,它们是引用并行缓存中文件的硬链接.在这篇博文中很好地涵盖了"不要相信你所有人的眼睛告诉你".
您可以列出与该fsutil.exe实用程序的链接.在我的Windows 8.1机器上:
C:\Windows\System32>fsutil hardlink list mscoree.dll
\Windows\WinSxS\amd64_netfx-mscoree_dll_31bf3856ad364e35_6.3.9600.16384_none_a61e5c302a20ae78\mscoree.dll
\Windows\System32\mscoree.dll
Run Code Online (Sandbox Code Playgroud)
您的并行缓存包含多个版本,因为您获得了.NET更新,可能是通过Windows Update提供的.它保留旧文件,以便您可以卸载更新.