This is a newbie question, no doubt.
I have recently started writing code using VS C# 2002 and tried to update to
the new 1.1 version of the framework.
Now the installation says it was successful but in the about box, I still
see ver 1.0 (infact 1.0.3705).
What gives? The 1.1 ver shows up as an installation in the Add/Remove
applet of control panel.
Thanks in advance,
Eric
Nick Holmes - 31 May 2004 08:19 GMT
VS C# 2002 only and always targets the 1.0 runtime. When you installed the
1.1 runtime, it was installed side by side with 1.0 - If you want to target
the 1.1 runtime, you'll need to upgrade your development environment too.
Nick Holmes.
> This is a newbie question, no doubt.
>
[quoted text clipped - 8 lines]
> Thanks in advance,
> Eric
Svein Terje Gaup - 31 May 2004 20:48 GMT
For your ASP.NET websites to use 1.1, you can go to the
WINDOWS\Microsoft.NET\Framework\v.1.1.. folder,
then run "aspnet_regiis -lk" ... to list all sites on your server. If you
want all your sites to use Framework 1.1, you can run "aspnet_regiis -s
W3SVC/", which installs 1.1 framework for your root website and all virtual
folders beneath it. If you then check in IIS, you can see that all the .net
specific files are handled by the 1.1 framework.
In VS.NET 2002, you can work with Framework 1.1 by deleting the default
references (which are pointing to the 1.0 framework), and then browse to the
1.1 dll's and add them as references in stead.
Sincerely
Svein Terje Gaup
> This is a newbie question, no doubt.
>
[quoted text clipped - 8 lines]
> Thanks in advance,
> Eric