473,320 Members | 1,879 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

2.0 and 1.1 coexistence

Udi
Hi,

Is it possible to install VS2005 over VS2003 on the same machine?
Can they both live together?
What if I'm working on two projects that one is complied with 1.1 and
the other with 2.0?
Where do I specify which CLR my exe needs?
Thanks!

Nov 17 '05 #1
9 1107
Udi wrote:
Is it possible to install VS2005 over VS2003 on the same machine?
Can they both live together?
Absolutely.
What if I'm working on two projects that one is complied with 1.1 and
the other with 2.0?
Where do I specify which CLR my exe needs?


I *believe* that if you build with VS2003, it will automatically use
1.1, and if you build with VS2005, it will automatically use 2.0. This
can be overridden with a config file, although I forget how right now.

Jon

Nov 17 '05 #2
Hi Udi,
Yes it is possible. If you are developing Web Application
you have to change the version of CLR for each new Web application as
your IIS will set the latest CLR version by default. you can change the
CLR version from properties -> Configuration -> edit for each Page
type.
What if I'm working on two projects that one is complied with 1.1 and
the other with 2.0?
Where do I specify which CLR my exe needs?


you don't have to. The portable executable file header of managed
assembly contains information about the runtime version it was built
with. But if you want to specify it yourself you can specify it in
Application.Config. e.g
<configuration>
<startup>
<supportedRuntime version="v1.1.4322"/>
<supportedRuntime version="v1.0.3705"/>
</startup>
</configuration>
but i think it was different in version 1 but i'm not sure of that.

I hope it helps.

Regadrs,
Naveed Ahmad Bajwa
Kalsoft Pvt Ltd.

Nov 17 '05 #3
Hi, check this, pretty comprehensive explanation of what you r looking for
:http://www.gotdotnet.com/team/changeinfo/default.aspx.

Ab.
http://joehacker.blogspot.comwithnospam

"Udi" <Ud**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
Hi,

Is it possible to install VS2005 over VS2003 on the same machine?
Can they both live together?
What if I'm working on two projects that one is complied with 1.1 and
the other with 2.0?
Where do I specify which CLR my exe needs?
Thanks!

Nov 17 '05 #4
Udi,
In addition to the other comments.

I have VS 6, VS 2002, VS 2003, and VS 2005 all loaded on my machine. I have
not seen negative reactions between them.

| Where do I specify which CLR my exe needs?
Its based on the "compiler" you use. VS 2002 uses the .NET 1.0 compiler, VS
2003 uses the .NET 1.1 compiler & VS 2005 uses the .NET 2.0 compiler.

Using your app.config you could configure .NET 1.1 apps to run on .NET 1.0,
however due to the meta file changes .NET 2.0 apps cannot run on .NET 1.1 or
1.0.
Most .NET 1.0 & 1.1 applications will run on .NET 2.0:

http://msdn2.microsoft.com/en-us/library/ms228009.aspx

In fact most .NET 1.0 & 1.1 apps will run under the .NET 2.0 64-bit edition!

http://blogs.msdn.com/joshwil/archiv...06/415191.aspx
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Udi" <Ud**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
| Hi,
|
| Is it possible to install VS2005 over VS2003 on the same machine?
| Can they both live together?
| What if I'm working on two projects that one is complied with 1.1 and
| the other with 2.0?
| Where do I specify which CLR my exe needs?
| Thanks!
|
Nov 17 '05 #5
> I *believe* that if you build with VS2003, it will automatically use
1.1, and if you build with VS2005, it will automatically use 2.0. This
can be overridden with a config file, although I forget how right now.
You believe correctly, Jon. If you attempt to open a 1.1 project in VS.Net
2005, it will want to convert it to a 2.0 Project. The skinny on overriding
this option is that currently, VS.Net 2005 does not support 1.1 Framework
projects. I am told that it is something the team wants to do, but could not
do for this release.

Therefore, you will need to keep VS.Net 2003 (which *can* co-exist with
VS.Net 2005 quite nicely) if you want to continue to work on Framework 1.1
projects.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Jon Skeet [C# MVP]" <sk***@pobox.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com... Udi wrote:
Is it possible to install VS2005 over VS2003 on the same machine?
Can they both live together?


Absolutely.
What if I'm working on two projects that one is complied with 1.1 and
the other with 2.0?
Where do I specify which CLR my exe needs?


I *believe* that if you build with VS2003, it will automatically use
1.1, and if you build with VS2005, it will automatically use 2.0. This
can be overridden with a config file, although I forget how right now.

Jon

Nov 17 '05 #6
Bajoo,
| Yes it is possible. If you are developing Web Application
| you have to change the version of CLR for each new Web application as
| your IIS will set the latest CLR version by default. you can change the
| CLR version from properties -> Configuration -> edit for each Page
| type.
However all your *existing* applications should stay at the level they are
at.

http://msdn2.microsoft.com/en-us/library/ms228009.aspx
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Bajoo" <Na**********@gmail.com> wrote in message
news:11**********************@o13g2000cwo.googlegr oups.com...
| Hi Udi,
| Yes it is possible. If you are developing Web Application
| you have to change the version of CLR for each new Web application as
| your IIS will set the latest CLR version by default. you can change the
| CLR version from properties -> Configuration -> edit for each Page
| type.
|
| > What if I'm working on two projects that one is complied with 1.1 and
| > the other with 2.0?
| > Where do I specify which CLR my exe needs?
|
| you don't have to. The portable executable file header of managed
| assembly contains information about the runtime version it was built
| with. But if you want to specify it yourself you can specify it in
| Application.Config. e.g
| <configuration>
| <startup>
| <supportedRuntime version="v1.1.4322"/>
| <supportedRuntime version="v1.0.3705"/>
| </startup>
| </configuration>
| but i think it was different in version 1 but i'm not sure of that.
|
| I hope it helps.
|
| Regadrs,
| Naveed Ahmad Bajwa
| Kalsoft Pvt Ltd.
|
Nov 17 '05 #7
Just be careful not to convert any projects to VS2005 that you want to use
the 1.1 framework because once you convert a project to VS2005 you can not
undo it.
"Jay B. Harlow [MVP - Outlook]" wrote:
Udi,
In addition to the other comments.

I have VS 6, VS 2002, VS 2003, and VS 2005 all loaded on my machine. I have
not seen negative reactions between them.

| Where do I specify which CLR my exe needs?
Its based on the "compiler" you use. VS 2002 uses the .NET 1.0 compiler, VS
2003 uses the .NET 1.1 compiler & VS 2005 uses the .NET 2.0 compiler.

Using your app.config you could configure .NET 1.1 apps to run on .NET 1.0,
however due to the meta file changes .NET 2.0 apps cannot run on .NET 1.1 or
1.0.
Most .NET 1.0 & 1.1 applications will run on .NET 2.0:

http://msdn2.microsoft.com/en-us/library/ms228009.aspx

In fact most .NET 1.0 & 1.1 apps will run under the .NET 2.0 64-bit edition!

http://blogs.msdn.com/joshwil/archiv...06/415191.aspx
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Udi" <Ud**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
| Hi,
|
| Is it possible to install VS2005 over VS2003 on the same machine?
| Can they both live together?
| What if I'm working on two projects that one is complied with 1.1 and
| the other with 2.0?
| Where do I specify which CLR my exe needs?
| Thanks!
|

Nov 17 '05 #8
> Just be careful not to convert any projects to VS2005 that you want to use
the 1.1 framework because once you convert a project to VS2005 you can not
undo it.
Actually, VS.net 2005 creates a backup of the original project.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
A watched clock never boils.

"Curtis" <Cu****@discussions.microsoft.com> wrote in message
news:1A**********************************@microsof t.com... Just be careful not to convert any projects to VS2005 that you want to use
the 1.1 framework because once you convert a project to VS2005 you can not
undo it.
"Jay B. Harlow [MVP - Outlook]" wrote:
Udi,
In addition to the other comments.

I have VS 6, VS 2002, VS 2003, and VS 2005 all loaded on my machine. I
have
not seen negative reactions between them.

| Where do I specify which CLR my exe needs?
Its based on the "compiler" you use. VS 2002 uses the .NET 1.0 compiler,
VS
2003 uses the .NET 1.1 compiler & VS 2005 uses the .NET 2.0 compiler.

Using your app.config you could configure .NET 1.1 apps to run on .NET
1.0,
however due to the meta file changes .NET 2.0 apps cannot run on .NET 1.1
or
1.0.
Most .NET 1.0 & 1.1 applications will run on .NET 2.0:

http://msdn2.microsoft.com/en-us/library/ms228009.aspx

In fact most .NET 1.0 & 1.1 apps will run under the .NET 2.0 64-bit
edition!

http://blogs.msdn.com/joshwil/archiv...06/415191.aspx
--
Hope this helps
Jay [MVP - Outlook]
..NET Application Architect, Enthusiast, & Evangelist
T.S. Bradley - http://www.tsbradley.net
"Udi" <Ud**********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
| Hi,
|
| Is it possible to install VS2005 over VS2003 on the same machine?
| Can they both live together?
| What if I'm working on two projects that one is complied with 1.1 and
| the other with 2.0?
| Where do I specify which CLR my exe needs?
| Thanks!
|

Nov 17 '05 #9
Udi
Thanks so much you all!
You've a great help!

Nov 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Rob Ristroph | last post by:
Has anyone tried out the PHP 5 beta ? If so do you have any comments ? I tried to install it a week ago on RedHat 9, but could not get the build system to make the libphp5.so module. --Rob
6
by: Paul Boivin | last post by:
I have inherited of a ASP web application and would like to perform any additional work in PHP. If anyone has dealt successfully with this situation and can point me towards the path of least...
4
by: rcb845 | last post by:
Bonjour à tous, Je suis relativement nouveau dans ce monde. Actuellement, je construis des transactions d'administration d'une base de données avec PHP et MySql. J'ai installé sur mon poste...
0
by: Cameron Laird | last post by:
QOTW: "Who's 'Guido'?" -- Ilias Lazaridis "I know this document. It has no relevance to me." -- Ilias Lazaridis, on <URL: http://www.catb.org/~esr/faqs/smart-questions.html > "Nobody asked...
1
by: kj | last post by:
The main rationale I have seen for namespace support in XML is to enable the peaceful coexistence of XML fragments from various sources within the same ("heterogeneous") XML document without their...
11
by: Devender Khari | last post by:
Hi Friends, I'm facing a situation as follows, need help on identifying possible issues. There is an MFC application developed in VC6.0, say ABCVC6.exe and another developed in VC.NET, say...
1
by: Kevin Burton | last post by:
We have been working for some time with VS 2003 and VS 2005 both installed. I am finding recently that ASP.NET seems to be based on .NET 1.1 So, while I can build web pages and web services...
1
by: =?Utf-8?B?bmVlcmFqYkBub2lkYS5ub3NwYW1oY2x0ZWNoLmNv | last post by:
Hi , WE are already having the ASP site working in production. WE need to do some major enhancements in the application which we need to do in the .NET 2.0 Do we have any article or writeup...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.