Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Running under Later Framework
Message
From
28/01/2011 10:11:08
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
28/01/2011 09:28:19
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01497623
Message ID:
01497646
Views:
39
Bill, Not sure I know of any as I havn't looked. What I do know is if I change a project from dot net 2.0 to dot net 4 the assembly references are changed. If you add a reference to your project and it is set to dot net 4 target framework, the assemblies will get filtered based on that framework. I have seen for instance System.Data.Entity has two versions. You will need to have the assemblies available based on what you compiled it on. Maybe a google search would find some documentation.
Thanks
Tim

>Ok, I can see that. Can you point me to some MS documentation of these issues?
>
>Bill
>
>>I am certain you will need to have either the dot net 2.0 framework installed or there will be 2.0 assemblies that will need to exist at the installation level. There are different dll's in dot net 2.0 and 4.0 that do the same thing but rely on that framework level assemblies. If you have this application working on a machine that only has dot net 4.0 installed, then it must have been setup to copy the specific assemblies that were needed.
>>
>>>Hi Tim,
>>>
>>>Thanks for the reply. Your comments are exactly what I am trying to determine. I.e. is the dll's specific compile framework required, or are runtime frameworks backward compatible?
>>>
>>>The reason I am asking is we have a client ( remote so we can't determine machine config ourselves ) that seems to have placed a .Net 2.0 exe on a machine that (supposedly) only has the .Net 4.0 Framework on it and the application seems to run. We are trying to get further details of the exact machine config.
>>>
>>>Bill
>>>
>>>>>We haven't run into this issue before and are trying to get some quick answers w/o doing research.
>>>>>
>>>>>1) Will a .Net application developed/compiled under an earlier .Net framework ( e.g. 2.0 ) run under a later framework ( e.g. 4.0 )? I.e. will an application compiled under .Net 2.0 is placed on a machine having only .Net 4.0 run properly ( or at all )?
>>>>>
>>>>>2) If a machine has more than one .Net Version Framework installed on it, will each appliction/dll on the machine run under it's compiled framework, or will the OS run all applications/dlls under the latest framework on the machine?
>>>>>
>>>>>Thanks,
>>>>>Bill
>>>>
>>>>Many of the dll's are different from version 2.0 to 4.0. If the application is using the dll's from dot net 2.0/ 3.0/3.5 you will need to have that framework installed as well.
>>>>Tim
Timothy Bryan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform