Hi,
To determine which versions of the .NET Framework are installed, locate the
<var>%systemroot%</var>\Microsoft.NET\Framework folder. To open this folder, you can paste this address into a Windows Explorer address bar. The following folders contain the released versions of the .NET Framework:
- v3.5
- v3.0
- v2.0.50727
- v1.1.4322
- v1.0.3705
Note If you see other folders that have a v<var>N</var>.<var>N</var>.<var>NXXXX</var> format, they may contain beta versions or pre-released versions of the .NET Framework. Those versions are outside the scope of this article.
To determine which versions of the .NET Framework are installed on a computer, follow these steps:
- Open any one of the folders in the previous list.
- Right-click the Mscorlib.dll file, and then click Properties.
- Click the Version tab, and then note the file version.
- Use the previous list to determine which version of the .NET Framework is installed on the computer, and then click
OK.
Repeat these steps for each version of the .NET Framework on the computer.
You can also use the Assembly Binding Log Viewer (Fuslogvw.exe), which ships with the .NET Framework SDK, to verify which version
of the runtime is loaded. You can also use this tool to verify that an assembly is loading from your application directory instead of from the global assembly cache, and to view the success or failure of all assembly binds.
By default, the Assembly Binding Log Viewer logs only failed assembly binds.
To log all assembly binds, you must create an entry in the registry.
When your application starts, you should see either mscorlib, Version 1.0.3300 for .NET Framework version 1.0 or mscorlib, Version 1.1.4322 for .NET Framework version 1.1, or mscorlib version 2.0.xxxx for .NET Framework version 2.0. You can also look at
the path where fusion.dll is loaded from to determine what version of the runtime is loaded.
Reference http://support.microsoft.com/kb/318785
-Ivan
Ivan Sanders
My LinkedIn Profile,
My Blog,
@iasanders.