.net 4.0 sos和clr版本之间的不匹配-如何解决
在windbg中加载转储文件后,我运行了以下命令 .由sos clr加载 但是,当运行ThreadPool命令时,我收到了以下消息.net 4.0 sos和clr版本之间的不匹配-如何解决,.net-4.0,sos,windb,.net 4.0,Sos,Windb,在windbg中加载转储文件后,我运行了以下命令 .由sos clr加载 但是,当运行ThreadPool命令时,我收到了以下消息 > 0:000> !ThreadPool The version of SOS does not match the version of > CLR you are debugging. Please load the matching version of SOS for > the version of CLR you are deb
> 0:000> !ThreadPool The version of SOS does not match the version of
> CLR you are debugging. Please load the matching version of SOS for
> the version of CLR you are debugging. CLR Version: 4.0.30319.18444 SOS
> Version: 4.0.30319.34011
我做错什么了吗?我在进行分析的机器上安装了.NET4.5。如果我尝试在该计算机上安装.NET 4.0,它不允许,因为已经安装了更高版本。从技术上讲,您需要将SOS版本与CLR和DAC(mscordacwks.dll)的所有4个版本位置相匹配。但是,这两个都是.NET 4.5版本,因此您可以安全地忽略此警告。为了解决此问题,您需要从进行转储的安装中获取SOS.dll。可能存在的副本