Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 我如何知道故障转储的 CLR 版本?
如果我在 WinDbg 中打开(托管进程的)转储文件,是否可以找到该进程正在使用的 .NET 框架版本?
lm(列出模块)命令可以提供此类信息,带有详细输出和匹配标志:
lmv m mscor*
这只是一个猜测,但如果您可以检查加载了哪些模块,您应该会看到使用了哪个版本的 mscorwks.dll (.NET 2.0 / 3.5) 或 clr.dll (.NET 4.0)。
您可以使用“lmv”命令。