2010-12-02 43 views

回答

6

不進程資源管理器也顯示已加載的DLL?在該列表中查找mscorwks.dll,並查看它從哪裏加載。 (這是工作站版本 - 我不記得服務器版本是什麼,但是我不認爲你會在XP上看到它,以mscor作爲第一個近似值。)

+1

哦,很酷。因此,如果我搜索「mscorwks」,並在結果中列出「explorer.exe」,並且在Handle或DLL下顯示路徑C:\ Windows \ Microsoft.NET \ Framework \ v2.0.50727,那麼這意味着明確指出它使用CLR v2.0.50727? – 2010-12-02 16:14:55

6

如果您在目標計算機上安裝了Visual Studio,則可以使用Visual Studio Command Prompt中的clrver<pid>來查看進程中加載​​的CLR的版本。

例如:

C:\>clrver 4900 
v2.0.50727 

這表明隨着PID 4900的方法具有加載.NET 2。

C:\>clrver -h 
Displays CLR versions 
Usage: clrver [-?|-all|<PID>] 

     -all - Displays all processes on the machine using the CLR. 
     <PID> - Displays the version of the CLR used by the specified process. 
     -? - Displays this help screen. 

If called with no options, clrver will display all installed CLR versions. 
相關問題