Installed v1.1 but VS still using v1.0

G

Guest

Hello

I have net frameowrk 1.1 installed on my system but VisualStudio still
builds usng the v1.0 of the framework. I know this because I'm trying to use
the SelectedValue property on the DropDownList (ASP.NET), this is available
in 1.1 but not 1.0.

Is there any way I can uninstall 1.0?
 
M

Mattias Sjögren

Is there any way I can uninstall 1.0?

Yes, but that will not fix the problem. VS2002 will only target v1.0
of the framework. If you want to work with v1.1 you should consider
upgrading to VS2003.



Mattias
 
N

Norman Yuan

VS.NET is kind of hard-wired to underline framework: VS.NET (2002) ->.NET
1.0; VS.NET2003->.NET 1.1 upcoming VS.NET2005->.NET 2.0. There are some
tricks to make VS.NET2002 working with .NET1.1 and you may find it on the
net.
 
M

Morten Wennevik

Hi Naeem,

Visual Studio .Net 2002 can't use Framework 1.1, for that you need Visual Studio .Net 2003

You can uninstall 1.0 using the Control Panel->Add/Remove Programs, but it will break Visual Studio
 
G

Guest

Visual Studio 2002 uses 1.0; Visual Studio 2003 uses 1.1. You can reg hack to
get one to run the other, but it becomes extremely buggy and crashes all the
time, so it is not wise.


---

Gregory A. Beamer
MVP; MCP: +I, SE, SD, DBA

***************************
Think Outside the Box!
***************************
 
G

Guest

Thanks for your help.

That's a shame that I can't use VS02 with framework v1.1, bad decision from
Microsoft.
 
W

Willy Denoyette [MVP]

Naeem Sarfraz said:
Thanks for your help.

That's a shame that I can't use VS02 with framework v1.1, bad decision
from
Microsoft.

No, it's a shame that you didn't upgrade, just blame yourself.

Willy.
 
G

Guest

Hello,

You can force your application to use .NET Framework 1.1 with a config file.
To develop your application to use the new classes or methods, you will have to use late binding or, quite better, reflection.
You may want to read the following article, which has an example of a config file:
Side-by-Side Execution of the .NET Framework:
http://msdn.microsoft.com/library/d...-us/dnnetdep/html/sidexsidenet.asp?frame=true

One sample of using new methods is the following:
'\\\
dim mi as system.reflection.methodinfo=gettype(application).getmethod("EnableVisualStyles")
if not mi is nothing then mi.invoke(nothing,nothing)
'///

Anyway I also recommend you to upgrade to VS 2003.

Regards.

"Naeem Sarfraz" <[email protected]> escribió en el mensaje | Hello
|
| I have net frameowrk 1.1 installed on my system but VisualStudio still
| builds usng the v1.0 of the framework. I know this because I'm trying to use
| the SelectedValue property on the DropDownList (ASP.NET), this is available
| in 1.1 but not 1.0.
|
| Is there any way I can uninstall 1.0?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top