By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,740 Members | 790 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,740 IT Pros & Developers. It's quick & easy.

.NET Framework 1.1 installed, but VS still sees 1.0

P: n/a
I recently downloaded and installed the .NET Framework 1.1. Previously, I
had 1.0. The installation was successful, but when I go to the About
Microsoft Development Environment menu item in the Help menu of Microsoft
Visual Studio .NET, it lists Microsoft .NET Framework 1.0 at the top (as it
did previously) instead of 1.1.

Is this ok? Do I somehow need to point Visual Studio .NET to the correct
version of the Framework? I also noticed that in the Windows/Microsoft
..NET/Framework folder there are two subfolders: one for v1.0.3705 (262MB)
and one for v1.1.4322 (37MB). I suppose the latter folder just contains the
updates?

Thanks,
Sougato
Nov 20 '05 #1
Share this Question
Share on Google+
6 Replies


P: n/a
Hi Sougato

I'm guessing you have VS V2002. This version of Visual Studio is tied to the
framework V1.0.

To use V1.1 you need VS V2003.

V2003 can be made to recognise both versions of the framework, but not the
other way round.

HTH

Charles
"Sougato Das" <so*********@hotmail.com> wrote in message
news:Da********************@comcast.com...
I recently downloaded and installed the .NET Framework 1.1. Previously, I
had 1.0. The installation was successful, but when I go to the About
Microsoft Development Environment menu item in the Help menu of Microsoft
Visual Studio .NET, it lists Microsoft .NET Framework 1.0 at the top (as it did previously) instead of 1.1.

Is this ok? Do I somehow need to point Visual Studio .NET to the correct
version of the Framework? I also noticed that in the Windows/Microsoft
.NET/Framework folder there are two subfolders: one for v1.0.3705 (262MB)
and one for v1.1.4322 (37MB). I suppose the latter folder just contains the updates?

Thanks,
Sougato

Nov 20 '05 #2

P: n/a
* "Sougato Das" <so*********@hotmail.com> scripsit:
I recently downloaded and installed the .NET Framework 1.1. Previously, I
had 1.0. The installation was successful, but when I go to the About
Microsoft Development Environment menu item in the Help menu of Microsoft
Visual Studio .NET, it lists Microsoft .NET Framework 1.0 at the top (as it
did previously) instead of 1.1.


VS.NET 2002 will /only/ work with .NET 1.0, there is no way to make it
use .NET 1.1. You will have to make an upgrade to VS.NET 2003 in order
to use the "new" version of the .NET Framework. Notice that VS.NET 2002
depends on .NET 1.0, so don't uninstall it.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #3

P: n/a
On 2004-02-10, Charles Law <bl***@nowhere.com> wrote:
Hi Sougato

I'm guessing you have VS V2002. This version of Visual Studio is tied to the
framework V1.0.

To use V1.1 you need VS V2003.

V2003 can be made to recognise both versions of the framework, but not the
other way round.

HTH

Charles


Actually Charles, VS.NET 2003 only recognizes and compiles agains the
1.1 framework... When you set it to use the 1.0 framework or both - all
it is doing is puting and entry in the app.config file. It still uses
the 1.1 framework to compile it.

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
"`If there's anything more important than my ego around, I
want it caught and shot now.'"

- Zaphod.
Nov 20 '05 #4

P: n/a
Hi Tom

Thanks for correcting me. I had not realised it was like that.

Charles
"Tom Shelton" <to*@mtogden.com> wrote in message
news:%2****************@TK2MSFTNGP12.phx.gbl...
On 2004-02-10, Charles Law <bl***@nowhere.com> wrote:
Hi Sougato

I'm guessing you have VS V2002. This version of Visual Studio is tied to the framework V1.0.

To use V1.1 you need VS V2003.

V2003 can be made to recognise both versions of the framework, but not the other way round.

HTH

Charles


Actually Charles, VS.NET 2003 only recognizes and compiles agains the
1.1 framework... When you set it to use the 1.0 framework or both - all
it is doing is puting and entry in the app.config file. It still uses
the 1.1 framework to compile it.

--
Tom Shelton [MVP]
Powered By Gentoo Linux 1.4
"`If there's anything more important than my ego around, I
want it caught and shot now.'"

- Zaphod.

Nov 20 '05 #5

P: n/a
Hello, Sougato Das:

Although VS 2002 only compiles with .NET Framework 1.0, you can force your executable to run with 1.1 (even while debugging) if you add a config file to the project's \bin folder (in fact, to the folder where you will start your executable from).
The name must be the same of the executable followed with ".config". For example: "MyExecutable.exe.config"
The contents must be:

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
</configuration>

Unfortunately you can't access directly to the 1.1 classes (without problems); You must use reflection (or late binding, if you don't use option strict).
With this method you can, for example, use Windows XP's visual styles in your VS 2002 applications adding theese two lines in the Main() method, before the Application.Run() instruction:
\\\
dim mi as system.reflection.methodinfo=gettype(application). getmethod("EnableVisualStyles")
if not mi is nothing then mi.invoke(nothing,nothing)
///

Regards.
"Sougato Das" <so*********@hotmail.com> escribió en el mensaje news:Da********************@comcast.com...
| I recently downloaded and installed the .NET Framework 1.1. Previously, I
| had 1.0. The installation was successful, but when I go to the About
| Microsoft Development Environment menu item in the Help menu of Microsoft
| Visual Studio .NET, it lists Microsoft .NET Framework 1.0 at the top (as it
| did previously) instead of 1.1.
|
| Is this ok? Do I somehow need to point Visual Studio .NET to the correct
| version of the Framework? I also noticed that in the Windows/Microsoft
| .NET/Framework folder there are two subfolders: one for v1.0.3705 (262MB)
| and one for v1.1.4322 (37MB). I suppose the latter folder just contains the
| updates?
|
| Thanks,
| Sougato

Nov 20 '05 #6

P: n/a

"José Manuel Agüero" <jmaguero_vodafone.es> wrote in message
news:Om**************@TK2MSFTNGP09.phx.gbl...
Hello, Sougato Das:

Although VS 2002 only compiles with .NET Framework 1.0, you can force your
executable to run with 1.1 (even while debugging) if you add a config file
to the project's \bin folder (in fact, to the folder where you will start
your executable from).
The name must be the same of the executable followed with ".config". For
example: "MyExecutable.exe.config"
The contents must be:

<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
</configuration>

Unfortunately you can't access directly to the 1.1 classes (without
problems); You must use reflection (or late binding, if you don't use option
strict).
With this method you can, for example, use Windows XP's visual styles in
your VS 2002 applications adding theese two lines in the Main() method,
before the Application.Run() instruction:
\\\
dim mi as
system.reflection.methodinfo=gettype(application). getmethod("EnableVisualSty
les")
if not mi is nothing then mi.invoke(nothing,nothing)
///

Regards.
"Sougato Das" <so*********@hotmail.com> escribió en el mensaje
news:Da********************@comcast.com...
| I recently downloaded and installed the .NET Framework 1.1. Previously, I
| had 1.0. The installation was successful, but when I go to the About
| Microsoft Development Environment menu item in the Help menu of Microsoft
| Visual Studio .NET, it lists Microsoft .NET Framework 1.0 at the top (as
it
| did previously) instead of 1.1.
|
| Is this ok? Do I somehow need to point Visual Studio .NET to the correct
| version of the Framework? I also noticed that in the Windows/Microsoft
| .NET/Framework folder there are two subfolders: one for v1.0.3705 (262MB)
| and one for v1.1.4322 (37MB). I suppose the latter folder just contains
the
| updates?
|
| Thanks,
| Sougato

I would like to point out that the config file trick does not work. See the
thread I started about it.

Sueffel

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.580 / Virus Database: 367 - Release Date: 2/6/2004
Nov 20 '05 #7

This discussion thread is closed

Replies have been disabled for this discussion.