Framework version...Contradictory Information

  • Thread starter Thread starter Scott M.
  • Start date Start date
S

Scott M.

From reading the many posts in this NG about which version of the framework
can be used with which version of VS.NET, it seems clear that VS.NET 2002
uses the 1.0 framework and VS.NET 2003 uses the 1.1 version.

However, a client of mine (a huge global insurance company) has the 1.1
Framework installed and their developers have VS.NET 2002. They tell me
that they have verified that the although the developers work with VS.NET
2002, the code they write is working off the 1.1 framework.

I don't doubt my client as they do extensive testing of their .NET apps and
have a MS Engineer (not an MCSE but an actual MS Employee) on retainer to
oversee every architectural decision that gets made.

Could anyone (actually, those who live and breathe this stuff) tell me how
this works? Is it that the 2002 apps. run via the 1.1 framework, but when
developing only the 1.0 framework is available?

Hmmmmmmmmmmmmm.

Thanks!
 
If you only have 1.1 installed, you can still run 1.0 stuff, although it
runs against older versions of the libraries that 1.1 also installs.
Perhaps that is why it is running on a 1.1 environment. To the best of my
knowledge, though, VS 2002 cannot build something to 1.1. Ultimately, you
can open the library in question in ildasm and check the versions of the
referenced libraries in the manifest to see what version they use.
 
Hello Scott,

Thanks for posting in the group.

Richard and Jay are right. This is the what we call side by side execution
in .NET. To speak it shortly, applications that do not carry a
configuration file or at least the supportedRuntime element in their
configuration files (unconfigured applications) execute with the version of
the Framework that was used to build the application, provided that version
of the Framework is installed on the local system. (The version of the
Framework with which the application was built is contained in the header
of the application .exe file.) When that version of the Framework is not
available, the CLR uses a later version of the Framework in its place. In
other words, an unconfigured application built with Framework 1.0 executes
with 1.0 on a system that has both 1.0 and 1.1 installed. That same
application executes with the 1.1 Framework on a system with only the 1.1
Framework installed.

The link that Jay provided gives much information on this topic. It
describes in-depth information about side-by-side execution of the .NET
Framework intended for individuals who are building or configuring .NET
Framework applications or components. I think it should be very helpful.

Does that answer your question?

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Scott M." <[email protected]>
!Subject: Framework version...Contradictory Information
!Date: Mon, 15 Sep 2003 13:35:43 -0400
!Lines: 22
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <[email protected]>
!Newsgroups: microsoft.public.dotnet.framework
!NNTP-Posting-Host: 200.129.252.64.snet.net 64.252.129.200
!Path:
cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP08
..phx.gbl!TK2MSFTNGP10.phx.gbl
!Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework:53603
!X-Tomcat-NG: microsoft.public.dotnet.framework
!
!From reading the many posts in this NG about which version of the framework
!can be used with which version of VS.NET, it seems clear that VS.NET 2002
!uses the 1.0 framework and VS.NET 2003 uses the 1.1 version.
!
!However, a client of mine (a huge global insurance company) has the 1.1
!Framework installed and their developers have VS.NET 2002. They tell me
!that they have verified that the although the developers work with VS.NET
!2002, the code they write is working off the 1.1 framework.
!
!I don't doubt my client as they do extensive testing of their .NET apps and
!have a MS Engineer (not an MCSE but an actual MS Employee) on retainer to
!oversee every architectural decision that gets made.
!
!Could anyone (actually, those who live and breathe this stuff) tell me how
!this works? Is it that the 2002 apps. run via the 1.1 framework, but when
!developing only the 1.0 framework is available?
!
!Hmmmmmmmmmmmmm.
!
!Thanks!
!
!
!
 
Ok, but what of a system that has BOTH the 1.0 and 1.1 Frameworks and an
application written with the 1.0 Framework? This is what my client has and
they tell me that their apps. written with 1.0 run on the 1.1 even when both
are installed.
 
Hello Scott,

Thanks for the quick response.

In the MSDN document, we could see clearyly that "an unconfigured
application built with Framework 1.0 executes
with 1.0 on a system that has both 1.0 and 1.1 installed.". However, for a
configured application, an application developer or an administrator can
test, or permanently redirect, 1.0 Windows client applications to the 1.1
Framework by providing an application configuration file.

The application configuration file is an .xml file located in the same
directory as the application executable (.exe) file. The configuration file
name must be the same as the .exe file name with ".config" appended to the
end. For example, the application MyApp.exe would have a configuration file
named MyApp.exe.config. Note that the configuration file can contain
settings that affect other aspects of the application's behavior beside
what version of the Framework it should run on.

The Framework version is affected by the contents of the startup section in
the configuration file. In particular, the supportedRuntime element affects
the choice of the Framework version.

So please check whether your client use a configuration file to redirect
the app to framework 1.1. By the way, please also check how they confirm
the app is running on framework 1.1 when both 1.0 and 1.1 are installed.

Hope that helps.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Scott M." <[email protected]>
!References: <[email protected]>
<[email protected]>
!Subject: Re: Framework version...Contradictory Information
!Date: Tue, 16 Sep 2003 19:41:44 -0400
!Lines: 92
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <[email protected]>
!Newsgroups: microsoft.public.dotnet.framework
!NNTP-Posting-Host: 200.129.252.64.snet.net 64.252.129.200
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:53883
!X-Tomcat-NG: microsoft.public.dotnet.framework
!
!Ok, but what of a system that has BOTH the 1.0 and 1.1 Frameworks and an
!application written with the 1.0 Framework? This is what my client has and
!they tell me that their apps. written with 1.0 run on the 1.1 even when
both
!are installed.
!
!
!!> Hello Scott,
!>
!> Thanks for posting in the group.
!>
!> Richard and Jay are right. This is the what we call side by side
execution
!> in .NET. To speak it shortly, applications that do not carry a
!> configuration file or at least the supportedRuntime element in their
!> configuration files (unconfigured applications) execute with the version
!of
!> the Framework that was used to build the application, provided that
!version
!> of the Framework is installed on the local system. (The version of the
!> Framework with which the application was built is contained in the header
!> of the application .exe file.) When that version of the Framework is not
!> available, the CLR uses a later version of the Framework in its place. In
!> other words, an unconfigured application built with Framework 1.0
executes
!> with 1.0 on a system that has both 1.0 and 1.1 installed. That same
!> application executes with the 1.1 Framework on a system with only the 1.1
!> Framework installed.
!>
!> The link that Jay provided gives much information on this topic. It
!> describes in-depth information about side-by-side execution of the .NET
!> Framework intended for individuals who are building or configuring .NET
!> Framework applications or components. I think it should be very helpful.
!>
!> Does that answer your question?
!>
!> Best regards,
!> Yanhong Huang
!> Microsoft Online Partner Support
!>
!> Get Secure! - www.microsoft.com/security
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !From: "Scott M." <[email protected]>
!> !Subject: Framework version...Contradictory Information
!> !Date: Mon, 15 Sep 2003 13:35:43 -0400
!> !Lines: 22
!> !X-Priority: 3
!> !X-MSMail-Priority: Normal
!> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!> !Message-ID: <[email protected]>
!> !Newsgroups: microsoft.public.dotnet.framework
!> !NNTP-Posting-Host: 200.129.252.64.snet.net 64.252.129.200
!> !Path:
!>
!cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP0
8
!> phx.gbl!TK2MSFTNGP10.phx.gbl
!> !Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework:53603
!> !X-Tomcat-NG: microsoft.public.dotnet.framework
!> !
!> !From reading the many posts in this NG about which version of the
!framework
!> !can be used with which version of VS.NET, it seems clear that VS.NET
2002
!> !uses the 1.0 framework and VS.NET 2003 uses the 1.1 version.
!> !
!> !However, a client of mine (a huge global insurance company) has the 1.1
!> !Framework installed and their developers have VS.NET 2002. They tell me
!> !that they have verified that the although the developers work with
VS.NET
!> !2002, the code they write is working off the 1.1 framework.
!> !
!> !I don't doubt my client as they do extensive testing of their .NET apps
!and
!> !have a MS Engineer (not an MCSE but an actual MS Employee) on retainer
to
!> !oversee every architectural decision that gets made.
!> !
!> !Could anyone (actually, those who live and breathe this stuff) tell me
!how
!> !this works? Is it that the 2002 apps. run via the 1.1 framework, but
!when
!> !developing only the 1.0 framework is available?
!> !
!> !Hmmmmmmmmmmmmm.
!> !
!> !Thanks!
!> !
!> !
!> !
!>
!
!
!
 
Thanks Yan-Hong. That does clarify things for me. I'll take your advice
and check with them on how they are verifying the use of 1.1.
 
Hi Scott,

You are welcome. :)

Thanks for participating the community.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!From: "Scott M." <[email protected]>
!References: <[email protected]>
<[email protected]>
<[email protected]>
<[email protected]>
!Subject: Re: Framework version...Contradictory Information
!Date: Wed, 17 Sep 2003 14:00:15 -0400
!Lines: 179
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Message-ID: <[email protected]>
!Newsgroups: microsoft.public.dotnet.framework
!NNTP-Posting-Host: 56.142.252.64.snet.net 64.252.142.56
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msftngp13.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:53988
!X-Tomcat-NG: microsoft.public.dotnet.framework
!
!Thanks Yan-Hong. That does clarify things for me. I'll take your advice
!and check with them on how they are verifying the use of 1.1.
!
!
!!> Hello Scott,
!>
!> Thanks for the quick response.
!>
!> In the MSDN document, we could see clearyly that "an unconfigured
!> application built with Framework 1.0 executes
!> with 1.0 on a system that has both 1.0 and 1.1 installed.". However, for
a
!> configured application, an application developer or an administrator can
!> test, or permanently redirect, 1.0 Windows client applications to the 1.1
!> Framework by providing an application configuration file.
!>
!> The application configuration file is an .xml file located in the same
!> directory as the application executable (.exe) file. The configuration
!file
!> name must be the same as the .exe file name with ".config" appended to
the
!> end. For example, the application MyApp.exe would have a configuration
!file
!> named MyApp.exe.config. Note that the configuration file can contain
!> settings that affect other aspects of the application's behavior beside
!> what version of the Framework it should run on.
!>
!> The Framework version is affected by the contents of the startup section
!in
!> the configuration file. In particular, the supportedRuntime element
!affects
!> the choice of the Framework version.
!>
!> So please check whether your client use a configuration file to redirect
!> the app to framework 1.1. By the way, please also check how they confirm
!> the app is running on framework 1.1 when both 1.0 and 1.1 are installed.
!>
!> Hope that helps.
!>
!> Best regards,
!> Yanhong Huang
!> Microsoft Online Partner Support
!>
!> Get Secure! - www.microsoft.com/security
!> This posting is provided "AS IS" with no warranties, and confers no
!rights.
!>
!> --------------------
!> !From: "Scott M." <[email protected]>
!> !References: <[email protected]>
!> <[email protected]>
!> !Subject: Re: Framework version...Contradictory Information
!> !Date: Tue, 16 Sep 2003 19:41:44 -0400
!> !Lines: 92
!> !X-Priority: 3
!> !X-MSMail-Priority: Normal
!> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!> !Message-ID: <[email protected]>
!> !Newsgroups: microsoft.public.dotnet.framework
!> !NNTP-Posting-Host: 200.129.252.64.snet.net 64.252.129.200
!> !Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP10.phx.gbl
!> !Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework:53883
!> !X-Tomcat-NG: microsoft.public.dotnet.framework
!> !
!> !Ok, but what of a system that has BOTH the 1.0 and 1.1 Frameworks and an
!> !application written with the 1.0 Framework? This is what my client has
!and
!> !they tell me that their apps. written with 1.0 run on the 1.1 even when
!> both
!> !are installed.
!> !
!> !
!> !!> !> Hello Scott,
!> !>
!> !> Thanks for posting in the group.
!> !>
!> !> Richard and Jay are right. This is the what we call side by side
!> execution
!> !> in .NET. To speak it shortly, applications that do not carry a
!> !> configuration file or at least the supportedRuntime element in their
!> !> configuration files (unconfigured applications) execute with the
!version
!> !of
!> !> the Framework that was used to build the application, provided that
!> !version
!> !> of the Framework is installed on the local system. (The version of the
!> !> Framework with which the application was built is contained in the
!header
!> !> of the application .exe file.) When that version of the Framework is
!not
!> !> available, the CLR uses a later version of the Framework in its place.
!In
!> !> other words, an unconfigured application built with Framework 1.0
!> executes
!> !> with 1.0 on a system that has both 1.0 and 1.1 installed. That same
!> !> application executes with the 1.1 Framework on a system with only the
!1.1
!> !> Framework installed.
!> !>
!> !> The link that Jay provided gives much information on this topic. It
!> !> describes in-depth information about side-by-side execution of the
..NET
!> !> Framework intended for individuals who are building or configuring
..NET
!> !> Framework applications or components. I think it should be very
!helpful.
!> !>
!> !> Does that answer your question?
!> !>
!> !> Best regards,
!> !> Yanhong Huang
!> !> Microsoft Online Partner Support
!> !>
!> !> Get Secure! - www.microsoft.com/security
!> !> This posting is provided "AS IS" with no warranties, and confers no
!> !rights.
!> !>
!> !> --------------------
!> !> !From: "Scott M." <[email protected]>
!> !> !Subject: Framework version...Contradictory Information
!> !> !Date: Mon, 15 Sep 2003 13:35:43 -0400
!> !> !Lines: 22
!> !> !X-Priority: 3
!> !> !X-MSMail-Priority: Normal
!> !> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!> !> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!> !> !Message-ID: <[email protected]>
!> !> !Newsgroups: microsoft.public.dotnet.framework
!> !> !NNTP-Posting-Host: 200.129.252.64.snet.net 64.252.129.200
!> !> !Path:
!> !>
!>
!!cpmsftngxa07.phx.gbl!cpmsftngxa10.phx.gbl!TK2MSFTNGXA05.phx.gbl!TK2MSFTNGP
0
!> 8
!> !> phx.gbl!TK2MSFTNGP10.phx.gbl
!> !> !Xref: cpmsftngxa07.phx.gbl microsoft.public.dotnet.framework:53603
!> !> !X-Tomcat-NG: microsoft.public.dotnet.framework
!> !> !
!> !> !From reading the many posts in this NG about which version of the
!> !framework
!> !> !can be used with which version of VS.NET, it seems clear that VS.NET
!> 2002
!> !> !uses the 1.0 framework and VS.NET 2003 uses the 1.1 version.
!> !> !
!> !> !However, a client of mine (a huge global insurance company) has the
!1.1
!> !> !Framework installed and their developers have VS.NET 2002. They tell
!me
!> !> !that they have verified that the although the developers work with
!> VS.NET
!> !> !2002, the code they write is working off the 1.1 framework.
!> !> !
!> !> !I don't doubt my client as they do extensive testing of their .NET
!apps
!> !and
!> !> !have a MS Engineer (not an MCSE but an actual MS Employee) on
retainer
!> to
!> !> !oversee every architectural decision that gets made.
!> !> !
!> !> !Could anyone (actually, those who live and breathe this stuff) tell
me
!> !how
!> !> !this works? Is it that the 2002 apps. run via the 1.1 framework, but
!> !when
!> !> !developing only the 1.0 framework is available?
!> !> !
!> !> !Hmmmmmmmmmmmmm.
!> !> !
!> !> !Thanks!
!> !> !
!> !> !
!> !> !
!> !>
!> !
!> !
!> !
!>
!
!
!
 
Back
Top