469,306 Members | 1,797 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,306 developers. It's quick & easy.

which .NET Framework version is installed?

Does anybody know how I can find out, which release/version of the .NET Framework
is installed on my computer?
Jul 21 '05 #1
3 9122
C:\WINNT\Microsoft.NET\Framework directory will have the directories for the
version you have installed on your machine.
C:\WINNT\ : for Windows 2000
C:\Windows for Win XP

I have 1.0 and 1.1 both installed on my system.
so i have two dirs,
v1.0.3705
v1.1.4322

HTH,
Mahesh

"Ronald Fischer" <ro*************@gmail.com> wrote in message
news:b5*************************@posting.google.co m...
Does anybody know how I can find out, which release/version of the .NET Framework is installed on my computer?

Jul 21 '05 #2
I suggest to check up registry

HKEY_LOCAL_MACHINE\Software\Microsoft\.NETFramewor k

key - InstallRoot
C:\WINNT\Microsoft.NET\Framework directory will have the directories for the
version you have installed on your machine. C:\WINNT\ : for Windows 2000 C:\Windows for Win XP I have 1.0 and 1.1 both installed on my system. so i have two dirs, v1.0.3705 v1.1.4322 HTH, Mahesh "Ronald Fischer" <ro*************@gmail.com> wrote in message news:b5*************************@posting.google.co m...
Does anybody know how I can find out, which release/version of the .NET
Framework

is installed on my computer?

Jul 21 '05 #3
Actually, the same happens to be on my PC. Now, when there
are two versions of .NET Framework, and I run a program which
uses .NET Framework, which of these will be actually used?

Background of the question is: I have a program using .NET Framework,
which terminates by throwing a security exception. Researching
the web, I found that this may happen due to a bug an release
1.0 of .NET Framework, and sure enough the README coming with
the program says that it needs 1.1. Not knowing at that time
which version I have, I downloaded 1.1 and re-ran the program -
but still the same exception is thrown.

Now that I know that the old AND the new versions are present
on my PC, I suspect that this program still uses the old version.
How can I verify this? Is there a workaround?

Ronald
--
Ronald Fischer (http://www.fusshuhn.de/)

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Jul 21 '05 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

7 posts views Thread by | last post: by
2 posts views Thread by Nak | last post: by
3 posts views Thread by Ronald Fischer | last post: by
3 posts views Thread by Shadow Lynx | last post: by
1 post views Thread by Kevin S Gallagher | last post: by
reply views Thread by Benny | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by harlem98 | last post: by
reply views Thread by harlem98 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.