Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Get the .NET framework version from a process dump [duplicate]

Tags:

.net

windbg

sos

Possible Duplicate:
How can I know the CLR version of a crash dump?

If I open a dump file (of a managed process) in WinDbg, is there anyway of finding which version of .NET framework that process was using?

like image 619
imak Avatar asked Oct 16 '11 20:10

imak


2 Answers

The lm (List Modules) command can provide such information, with verbose output and the Match flag:

lmv m mscor*
like image 136
Override Avatar answered Sep 21 '22 04:09

Override


It's just a guess, but if you can check what modules were loaded, you should see what version of mscorwks.dll (.NET 2.0 / 3.5) or clr.dll (.NET 4.0) was used.

You can use 'lmv' command.

like image 30
ppiotrowicz Avatar answered Sep 21 '22 04:09

ppiotrowicz