Henning Krause [MVP - Exchange]
5/27/2008 5:45:00 AM
Hello Tom,
the Environment.Version is correct, because it contains the version of the
CLR, which hasn't changed with .NET 3.5. .NET 3.5 just adds a bunch of new
assemblies.
Kind regards,
Henning Krause
"Tom Baxter" <tlbaxter99@yahoo.com> wrote in message
news:urKbOS6vIHA.1504@TK2MSFTNGP05.phx.gbl...
> Hello all,
>
> I have .NET 3.5 installed and I'm running VS 2008. I have a C# project
> that's configured to use .NET 3.5 (in the project properties the "Target
> Framework" is 3.5).
>
> The following line of code:
> Console.WriteLine(".NET Version: {0}", Environment.Version);
> prints: .NET Version: 2.0.50727.1433
>
> Why does Environment.Version not indicate 3.5?
>
> Thanks
>
> --
> Tom Baxter
>