Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > .NET > .NET 1.0 and Visual Studio.NET > VS.NET 2002/2003
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old February 5th, 2004, 11:45 AM
Friend of Wrox
Points: 2,876, Level: 22
Points: 2,876, Level: 22 Points: 2,876, Level: 22 Points: 2,876, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
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...
Reply With Quote
  #2 (permalink)  
Old February 5th, 2004, 12:37 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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.
Reply With Quote
The Following User Says Thank You to planoie For This Useful Post:
Ron Howerton (February 22nd, 2013)
  #3 (permalink)  
Old February 5th, 2004, 12:38 PM
Imar's Avatar
Wrox Author
Points: 72,022, Level: 100
Points: 72,022, Level: 100 Points: 72,022, Level: 100 Points: 72,022, Level: 100
Activity: 100%
Activity: 100% Activity: 100% Activity: 100%
 
Join Date: Jun 2003
Location: Utrecht, Netherlands.
Posts: 17,076
Thanks: 80
Thanked 1,587 Times in 1,563 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.
Reply With Quote
The Following User Says Thank You to Imar For This Useful Post:
Ron Howerton (February 22nd, 2013)
  #4 (permalink)  
Old February 5th, 2004, 12:48 PM
Friend of Wrox
Points: 2,876, Level: 22
Points: 2,876, Level: 22 Points: 2,876, Level: 22 Points: 2,876, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
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?
Reply With Quote
  #5 (permalink)  
Old February 5th, 2004, 12:56 PM
planoie's Avatar
Friend of Wrox
Points: 16,481, Level: 55
Points: 16,481, Level: 55 Points: 16,481, Level: 55 Points: 16,481, Level: 55
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2003
Location: Clifton Park, New York, USA.
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.
Reply With Quote
The Following User Says Thank You to planoie For This Useful Post:
Ron Howerton (February 22nd, 2013)
  #6 (permalink)  
Old February 5th, 2004, 01:01 PM
Friend of Wrox
Points: 2,876, Level: 22
Points: 2,876, Level: 22 Points: 2,876, Level: 22 Points: 2,876, Level: 22
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Denver, CO, USA.
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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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 4 June 6th, 2004 12:05 AM



All times are GMT -4. The time now is 01:47 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.