473,406 Members | 2,273 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,406 software developers and data experts.

Framework 2.0 to Framework 3.5

I'm using VS 2005, and have a dll in some code (system.core.dll) that
was included in something someone sent me to run on my system.

I have production on a server using Framework 2.0 that I want to keep
intact.

Will upgrading my development box to Framework 3.5 preclude any
development or functionality in the 2.0 environment I am responsible for?

BC

Jun 27 '08 #1
8 1886
You should be just fine with your 2.0 work - - I have 2.0 work still on my
computer, as well as VS2005 and VS2008
When I want to work with 3.5 stuff, I use VS2008
When I want to work with 2.0 stuff, I use VS2005 - -

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Blasting Cap" <go****@christian.netwrote in message
news:uU**************@TK2MSFTNGP02.phx.gbl...
I'm using VS 2005, and have a dll in some code (system.core.dll) that was
included in something someone sent me to run on my system.

I have production on a server using Framework 2.0 that I want to keep
intact.

Will upgrading my development box to Framework 3.5 preclude any
development or functionality in the 2.0 environment I am responsible for?

BC

Jun 27 '08 #2
Will 3.5 not work with VS 2005?

David Wier wrote:
You should be just fine with your 2.0 work - - I have 2.0 work still on my
computer, as well as VS2005 and VS2008
When I want to work with 3.5 stuff, I use VS2008
When I want to work with 2.0 stuff, I use VS2005 - -

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
"Blasting Cap" <go****@christian.netwrote in message
news:uU**************@TK2MSFTNGP02.phx.gbl...
>I'm using VS 2005, and have a dll in some code (system.core.dll) that was
included in something someone sent me to run on my system.

I have production on a server using Framework 2.0 that I want to keep
intact.

Will upgrading my development box to Framework 3.5 preclude any
development or functionality in the 2.0 environment I am responsible for?

BC

Jun 27 '08 #3
From what I understand...

To run mixed .NET assemblies on a computer, first install each .NET
framework the assemblies call.

A single Windows process can only load and run one .NET framework.
This means that a process can only run assemblies targeted for
the .NET framework that was first loaded by that process. This will
be the .NET framework used by the first assembly that the process
loads.

The major impact this restriction has appears in IIS where each
application pool runs as a single process with one framework. This is
why you can't mix .NET frameworks in a web application or webservice
running on IIS.

In a similar way, Visual Studio .NET also runs as a single process.
As Visual Studio .NET is itself written in .NET, the framework that
gets loaded is the framework the VS IDE was written in. This means
you won't be able to link assemblies targeted for a different version
of .NET into projects you developed with that version of Visual
Studio.

If the mixed assemblies run under different process so that each .NET
framework can run, and you have a mechanisim in place to communicate
between the processes (ie messaging), then you can have a mix of .NET
Framework targeted assemblies for the same application.

Jun 27 '08 #4
Ok -

I think I understand.

I guess I didn't ask the question I really wanted the answer to very
well. But from what I understand about your response, it shouldn't
affect it.

What I have is a system with VS 2005, and framework 2.0 on it, that I
develop from. Also in the mix is a server (Server 2003) running
framework 2.0 as well.

If I were to install Framework 3.5 on my machine (XP, VS 2005) and work
on the app that resides on the server (Server2003), as long as I don't
change the .net property in IIS, that property should stay the same.
Meaning, when I code & test on my machine, where I have IIS and that
website installed, make changes, etc - when I deploy it (or copy code
to) the server with framework 2.0 installed, as long as I haven't made
reference to anything beyond 2.0's framework, or changed the property on
MY IIS (or the server's) to reference dotnet framework beyond 2.0 -
things on the website in my test (local) environment and the production
environment - should function as before.

Right?

;-)

BC

Andy wrote:
From what I understand...

To run mixed .NET assemblies on a computer, first install each .NET
framework the assemblies call.

A single Windows process can only load and run one .NET framework.
This means that a process can only run assemblies targeted for
the .NET framework that was first loaded by that process. This will
be the .NET framework used by the first assembly that the process
loads.

The major impact this restriction has appears in IIS where each
application pool runs as a single process with one framework. This is
why you can't mix .NET frameworks in a web application or webservice
running on IIS.

In a similar way, Visual Studio .NET also runs as a single process.
As Visual Studio .NET is itself written in .NET, the framework that
gets loaded is the framework the VS IDE was written in. This means
you won't be able to link assemblies targeted for a different version
of .NET into projects you developed with that version of Visual
Studio.

If the mixed assemblies run under different process so that each .NET
framework can run, and you have a mechanisim in place to communicate
between the processes (ie messaging), then you can have a mix of .NET
Framework targeted assemblies for the same application.
Jun 27 '08 #5
re:
!as long as I haven't made reference to anything beyond 2.0's framework,
!or changed the property on MY IIS (or the server's) to reference dotnet
!framework beyond 2.0 - things on the website in my test (local) environment
!and the production environment - should function as before.
!Right?

Right.

Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Blasting Cap" <go****@christian.netwrote in message news:Ok**************@TK2MSFTNGP03.phx.gbl...
Ok -

I think I understand.

I guess I didn't ask the question I really wanted the answer to very well. But from what I understand about your
response, it shouldn't affect it.

What I have is a system with VS 2005, and framework 2.0 on it, that I develop from. Also in the mix is a server
(Server 2003) running framework 2.0 as well.

If I were to install Framework 3.5 on my machine (XP, VS 2005) and work on the app that resides on the server
(Server2003), as long as I don't change the .net property in IIS, that property should stay the same. Meaning, when I
code & test on my machine, where I have IIS and that website installed, make changes, etc - when I deploy it (or copy
code to) the server with framework 2.0 installed, as long as I haven't made reference to anything beyond 2.0's
framework, or changed the property on MY IIS (or the server's) to reference dotnet framework beyond 2.0 - things on
the website in my test (local) environment and the production environment - should function as before.

Right?

;-)

BC

Andy wrote:
>From what I understand...

To run mixed .NET assemblies on a computer, first install each .NET
framework the assemblies call.

A single Windows process can only load and run one .NET framework.
This means that a process can only run assemblies targeted for
the .NET framework that was first loaded by that process. This will
be the .NET framework used by the first assembly that the process
loads.

The major impact this restriction has appears in IIS where each
application pool runs as a single process with one framework. This is
why you can't mix .NET frameworks in a web application or webservice
running on IIS.

In a similar way, Visual Studio .NET also runs as a single process.
As Visual Studio .NET is itself written in .NET, the framework that
gets loaded is the framework the VS IDE was written in. This means
you won't be able to link assemblies targeted for a different version
of .NET into projects you developed with that version of Visual
Studio.

If the mixed assemblies run under different process so that each .NET
framework can run, and you have a mechanisim in place to communicate
between the processes (ie messaging), then you can have a mix of .NET
Framework targeted assemblies for the same application.

Jun 27 '08 #6
On Mon, 21 Apr 2008 09:45:18 -0700, Blasting Cap <go****@christian.net>
wrote:
[...]
If I were to install Framework 3.5 on my machine (XP, VS 2005) and work
on the app that resides on the server (Server2003), as long as I don't
change the .net property in IIS, that property should stay the same.
[...]
I believe that's the case. .NET 3.5 still uses the same run-time as .NET
2.0. The only thing that's changed is additional components in the
framework.

That said, as far as I can recall, VS2005 doesn't provide any means for
preventing you from using .NET 3.5 framework components if you have the
..NET 3.5 SDK installed. You can probably get away with installing the 3.5
_framework_ on your development machine without causing problems, but you
should probably not install the _SDK_, to ensure that 3.5 stuff doesn't
accidently get used in your code.

With VS2008, this is a lot easier, as you can set your project settings to
target specific versions and the IDE will take care of making sure you
only get the right SDK.

Pete
Jun 27 '08 #7
Why not just use VS 2008 for both? One of it's features is that you can
target the runtime that you want to run against? I use VS 2008 for 2.0 and
up.

"David Wier" <dw@dw.comwrote in message
news:eJ****************@TK2MSFTNGP06.phx.gbl...
You should be just fine with your 2.0 work - - I have 2.0 work still on my
computer, as well as VS2005 and VS2008
When I want to work with 3.5 stuff, I use VS2008
When I want to work with 2.0 stuff, I use VS2005 - -

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with
no bloated markup
"Blasting Cap" <go****@christian.netwrote in message
news:uU**************@TK2MSFTNGP02.phx.gbl...
>I'm using VS 2005, and have a dll in some code (system.core.dll) that was
included in something someone sent me to run on my system.

I have production on a server using Framework 2.0 that I want to keep
intact.

Will upgrading my development box to Framework 3.5 preclude any
development or functionality in the 2.0 environment I am responsible for?

BC

Jun 27 '08 #8
If you need to ask this question, I think you should consider setting up a
VPC image that you can install VS 2008. That will prevent you from shooting
yourself in the foot.

--

Regards,
Alvin Bruney [MVP ASP.NET]

[Shameless Author plug]
The O.W.C. Black Book, 2nd Edition
Exclusively on www.lulu.com/owc $19.99
-------------------------------------------------------


"Blasting Cap" <go****@christian.netwrote in message
news:Ok**************@TK2MSFTNGP03.phx.gbl...
Ok -

I think I understand.

I guess I didn't ask the question I really wanted the answer to very well.
But from what I understand about your response, it shouldn't affect it.

What I have is a system with VS 2005, and framework 2.0 on it, that I
develop from. Also in the mix is a server (Server 2003) running framework
2.0 as well.

If I were to install Framework 3.5 on my machine (XP, VS 2005) and work on
the app that resides on the server (Server2003), as long as I don't change
the .net property in IIS, that property should stay the same. Meaning,
when I code & test on my machine, where I have IIS and that website
installed, make changes, etc - when I deploy it (or copy code to) the
server with framework 2.0 installed, as long as I haven't made reference
to anything beyond 2.0's framework, or changed the property on MY IIS (or
the server's) to reference dotnet framework beyond 2.0 - things on the
website in my test (local) environment and the production environment -
should function as before.

Right?

;-)

BC

Andy wrote:
>From what I understand...

To run mixed .NET assemblies on a computer, first install each .NET
framework the assemblies call.

A single Windows process can only load and run one .NET framework.
This means that a process can only run assemblies targeted for
the .NET framework that was first loaded by that process. This will
be the .NET framework used by the first assembly that the process
loads.

The major impact this restriction has appears in IIS where each
application pool runs as a single process with one framework. This is
why you can't mix .NET frameworks in a web application or webservice
running on IIS.

In a similar way, Visual Studio .NET also runs as a single process.
As Visual Studio .NET is itself written in .NET, the framework that
gets loaded is the framework the VS IDE was written in. This means
you won't be able to link assemblies targeted for a different version
of .NET into projects you developed with that version of Visual
Studio.

If the mixed assemblies run under different process so that each .NET
framework can run, and you have a mechanisim in place to communicate
between the processes (ie messaging), then you can have a mix of .NET
Framework targeted assemblies for the same application.
Jun 27 '08 #9

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

Similar topics

0
by: Ravindra | last post by:
Well I installed the framework provided by microsoft , the problem is I am able to activate the smart tag in the doc file but when I Click on the Show Detils option in the information bridge the...
3
by: CMan | last post by:
Hi, We are currently trying to install .Net Framework v.1.1 on a server which already has v1.0. We are receiving the following error. Error 1704.An installation for Microsoft .NET Framework...
18
by: Cameron Laird | last post by:
QOTW: "... So I started profiling the code and the slowdown was actually taking place at places where I didn't expect it." -- Guyon Mor?e (and about twenty-three thousand others) " suggestion...
6
by: Joseph Geretz | last post by:
I recently upgraded my server to Windows 2003. The first thing I noticed is that my sample WebService pages no longer worked. The Invoke test button is missing. This is addresed by the following KB...
9
by: Tim D | last post by:
Hi, I originally posted this as a reply to a rather old thread in dotnet.framework.general and didn't get any response. I thought it might be more relevant here; anyone got any ideas? My...
1
by: Harry Simpson | last post by:
I know I drilled down into the Windows folder\Microsoft.net\Framework\v1.1.4322 folder and looked at the version of Mscorcfg.dll to get the SP level from the version number: Mine shows...
3
by: Shadow Lynx | last post by:
At the bottom of the default Error page that appears when Unhandled Exceptions occur, what exactly is the difference between the "Microsoft ..Net Framework Version" and the "ASP.NET Version"? I...
3
dmjpro
by: dmjpro | last post by:
plz send me a good link which can clearify me how the J2EE framework works i want the details information .... plz help thanx
13
by: dancer | last post by:
I have made a new post because when I try to respond to another, I get the error, "Article Rejected -- Ill-formed message id" This is in response to the advice of Juan Libre to install Net...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.