Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / CLR / February 2004

Tip: Looking for answers? Try searching our database.

How does an .NET know which version of framework to use

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
srini - 27 Feb 2004 09:06 GMT
Hi
How does a .NET application know what version of the framework to use by default. For example I have framework version 1.0 and 1.1 on my machine. When I develope an App using VS.NET 2002 it uses framework 1.0. How does the app know it
Is this info stored in the assembly

REgards
Srini
Vadym Stetsyak - 27 Feb 2004 12:57 GMT
the info is stored in the manifest i.e all the external assemblies are
identified by the version.

It means of your app was build with Asmb.dll (v1.0.23.0) then after
application starts runtime will search for Asmb.dll and it will also verify
its version.

> Hi ,
> How does a .NET application know what version of the framework to use by default. For example I have framework version 1.0 and 1.1 on my machine.
When I develope an App using VS.NET 2002 it uses framework 1.0. How does the
app know it.
> Is this info stored in the assembly.
>
> REgards,
> Srini
Scott M. - 28 Feb 2004 20:23 GMT
Yes, it is stored in the assembly's manifest.

Assemblies made with VS.NET 2002 automatically point to the 1.0 Framework as
this was the only version available when it came out.  Assemblies made with
VS.NET 2003 automatically point to the 1.1 version.  There are utilities you
can use to point an assembly to whichever version you want.

> Hi ,
> How does a .NET application know what version of the framework to use by default. For example I have framework version 1.0 and 1.1 on my machine.
When I develope an App using VS.NET 2002 it uses framework 1.0. How does the
app know it.
> Is this info stored in the assembly.
>
> REgards,
> Srini

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.