T
Tom Baxter
Hello all,
I've Googled this topic but I've not found a satisfactory answer. I was
hoping someone here could shed some light on this.
I understand there is a difference between the CLR version and the Framework
version. The latest Framework version is 3.5 SP1. Until recently, I thought
there was only one version of the CLR that had been released since 2005, and
that was 2.0.50727.3053, but now I'm starting to doubt that.
I'm running a machine w/.NET 3.5, SP1 installed. My confusion stems from
what appears in the User-Agent header generated by IE:
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1;
..NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729;
..NET CLR 3.0.30618)
I was surprised to see CLR 3.5.30729 and 3.0.30618 listed in the HTTP
header. Do these versions of the CLR exist? If not, why are they listed in
the HTTP header?
When I create a Visual Studio 2008 app, targeting the 3.5 framework, a call
to "Environment.Version" returns 2.0.50727.3053 (not the 3.5 version).
Interestingly, the "clrver.exe" tool that ships with Visual Studio reports
v2.0.50727 as the only installed CLR. Additionally, if I set up an
App.config with either of these elements:
<startup>
<requiredRuntime version="v3.5.30729"/>
</startup>
<startup>
<requiredRuntime version="3.0.30618"/>
</startup>
my app fails because the required version of the CLR is not present.
So, it seems that I only have v2.0 of the CLR, yet for some reason IE is
reporting the existence of versions 3.0 and 3.5. Can someone explain the
discrepancy?
Thanks.
I've Googled this topic but I've not found a satisfactory answer. I was
hoping someone here could shed some light on this.
I understand there is a difference between the CLR version and the Framework
version. The latest Framework version is 3.5 SP1. Until recently, I thought
there was only one version of the CLR that had been released since 2005, and
that was 2.0.50727.3053, but now I'm starting to doubt that.
I'm running a machine w/.NET 3.5, SP1 installed. My confusion stems from
what appears in the User-Agent header generated by IE:
User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.0; WOW64; SLCC1;
..NET CLR 2.0.50727; Media Center PC 5.0; InfoPath.2; .NET CLR 3.5.30729;
..NET CLR 3.0.30618)
I was surprised to see CLR 3.5.30729 and 3.0.30618 listed in the HTTP
header. Do these versions of the CLR exist? If not, why are they listed in
the HTTP header?
When I create a Visual Studio 2008 app, targeting the 3.5 framework, a call
to "Environment.Version" returns 2.0.50727.3053 (not the 3.5 version).
Interestingly, the "clrver.exe" tool that ships with Visual Studio reports
v2.0.50727 as the only installed CLR. Additionally, if I set up an
App.config with either of these elements:
<startup>
<requiredRuntime version="v3.5.30729"/>
</startup>
<startup>
<requiredRuntime version="3.0.30618"/>
</startup>
my app fails because the required version of the CLR is not present.
So, it seems that I only have v2.0 of the CLR, yet for some reason IE is
reporting the existence of versions 3.0 and 3.5. Can someone explain the
discrepancy?
Thanks.