Home All Groups Group Topic Archive Search About

How do I know which version of the .NET framework I have installed

Author
6 Apr 2006 12:50 AM
John Doe
How do I know which version of the .NET framework I have installed?

Author
6 Apr 2006 1:32 AM
Tim Wilson
You can have multiple versions installed side-by-side. If you want to
programmatically determine which version you're application is running
against then you can look at System.Environment.Version.
http://msdn2.microsoft.com/en-us/library/system.environment.version.aspx

--
Tim Wilson
..NET Compact Framework MVP

Show quote
"John Doe" <john.***@domain.com> wrote in message
news:YAZYf.132499$g47.4848@tornado.tampabay.rr.com...
> How do I know which version of the .NET framework I have installed?
>
>
Author
6 Apr 2006 1:38 AM
Cerebrus
Hi John,

Your question could have (atleast) three implications... (My guess
would be : 3)

1. You want to determine the version of the .NET FW programmatically
within your application.
2. You want to check the version before installing your program.
3. You just want to manually determine the version of the FW installed
on your own system.

Answers :

1. Query the System.Environment.Version property

2. A setup project built with the built-in template will automatically
check for this.

3. Check out this page :
<http://support.microsoft.com/?kbid=318785>

HTH,

Regards,

Cerebrus.
Author
6 Apr 2006 2:03 AM
John Doe
Number 3 of your list is what I wanted. Thanks!

Show quote
"Cerebrus" <zorg***@sify.com> wrote in message
news:1144287521.606793.315060@t31g2000cwb.googlegroups.com...
> Hi John,
>
> Your question could have (atleast) three implications... (My guess
> would be : 3)
>
> 1. You want to determine the version of the .NET FW programmatically
> within your application.
> 2. You want to check the version before installing your program.
> 3. You just want to manually determine the version of the FW installed
> on your own system.
>
> Answers :
>
> 1. Query the System.Environment.Version property
>
> 2. A setup project built with the built-in template will automatically
> check for this.
>
> 3. Check out this page :
> <http://support.microsoft.com/?kbid=318785>
>
> HTH,
>
> Regards,
>
> Cerebrus.
>

AddThis Social Bookmark Button