Wrox Programmer Forums
Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 5th, 2004, 11:45 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default VS IDE doesn't see Framework 1.1?

Framework version 1.0.3705 was installed when I first set up the VS IDE. I've since installed Framework 1.1, which I downloaded from Microsoft's site. It ran rather quickly, but appeared to install and a glance at Add/Remvoe Programs shows both 1.0.3705 and 1.1 installed on the machine. Yet when I open the Help:About window in the VS IDE, it still references Microsoft Framework 1.0, version 1.0.3705. Does anybody else see this or do you see Framework 1.1 after installing it?

So, is 1.1 being ignored or is the Help:About window in the IDE wrong? If it's ignoring 1.1, what do I need to do to get it to recognize it? Do I need to uninstall 1.0.3705? I'm reluctant to do anything more without guidance for fear of trashing my design environment. Any words of wisdom would be appreciated. TIA...
 
Old February 5th, 2004, 12:37 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

This is by design. VS.net 2002 runs on framework 1.0, VS.net 2003 runs on 1.1. You can have both frameworks and both VS versions on the same machine and they will each run separate on the appropriate framework. If you want to develop in 1.1 you'll need to obtain VS.net 2003. However, code developed for 1.0 can run on 1.1 if it's forward compatible. Likewise, code developed in 1.1 can run on 1.0 if it's backwards compatible. MS changed some of the more complex features from 1.0 to 1.1 in a way that they would NOT be backwards or forwards compatible intentionally. There were some security issues that they needed to fix and I guess wanted to force people to apply the better techniques in their code when upgrading to 1.1.

Peter
------------------------------------------------------
Work smarter, not harder.
The Following User Says Thank You to planoie For This Useful Post:
Ron Howerton (February 22nd, 2013)
 
Old February 5th, 2004, 12:38 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

What version of Visual Studio .NET are you using?

Version 2002 will *only* compile against the framework version 1.0, just as version 2003 will *only* use framework version 1.1.

So, to get VS .NET to recognize framework 1.1, you'll need to upgrade to Visual Studio .NET 2003.

AFAIK, the upgrade is cheap. For $49 you can upgrade your 2002 edition.

Cheers,

Imar


---------------------------------------
Imar Spaanjaars
Everyone is unique, except for me.
The Following User Says Thank You to Imar For This Useful Post:
Ron Howerton (February 22nd, 2013)
 
Old February 5th, 2004, 12:48 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

Thanks for the fast responses. I will install VS 2003 immediately on my development box. But this leads to another question:

Our IIS server was also running 1.0.3705 and I've installed 1.1 on it. There is no VS environment on the production server and I did not uninstall 1.0.3705, so both versions are there. Which one will be used? Is it smart enough to RUN programs written in 2002 in 1.0.3705 and those written in 2003 in in 1.1? Since there are compatability issues going both ways, how can that be resolved on a server running programs written in both VS versions? Should I uninstall 1.0.3705 on the production server to avoid confusion?
 
Old February 5th, 2004, 12:56 PM
planoie's Avatar
Friend of Wrox
 
Join Date: Aug 2003
Posts: 5,407
Thanks: 0
Thanked 16 Times in 16 Posts
Default

My understanding is that the runtime is smart enought to figure out what it should do. The code will run on the latest framework it can. If the code CAN run on 1.1, it will (even if both are installed). If it CANNOT run on 1.1 due to some compatibility issue, it will rollback and run on the 1.0 framework (unless 1.0 isn't there, then it'll fail). Again, I *think* this is the way it works, I recall reading it somewhere.

Peter
------------------------------------------------------
Work smarter, not harder.
The Following User Says Thank You to planoie For This Useful Post:
Ron Howerton (February 22nd, 2013)
 
Old February 5th, 2004, 01:01 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 428
Thanks: 57
Thanked 2 Times in 2 Posts
Default

I had hoped that was how they made it work if these differences exist. I guess I'll find out soon enough. Thanks again for your help understanding this.





Similar Threads
Thread Thread Starter Forum Replies Last Post
changing host server framework 2.0 from framework jay_vijesh ASP.NET 1.x and 2.0 Application Design 1 September 11th, 2006 02:18 PM
How use framework components in compact framework? r_bazghaleh C# 0 February 19th, 2006 05:05 AM
C++ IDE acuratk C++ Programming 3 December 4th, 2004 03:16 AM
About the IDE Question Loy Iceman VB.NET 2002/2003 Basics 1 July 19th, 2004 09:10 AM
best JAVA IDE to use pilmart Java GUI 3 June 6th, 2004 12:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.