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 / March 2006

Tip: Looking for answers? Try searching our database.

Can CLR 1.1 and CLR 2.0 run in the same app?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brian R. - 07 Mar 2006 01:19 GMT
Is it possible to run two versions of the CLR in the same application?  The
framework of our application was developed in 2003 under CLR 1.1 and some of
our plugins were developed in VS 2005 and need the 2.0.  The 2003 components
experience problems when running with the 2.0 CLR only.

I have tried assembly binding attributes multiple ways in the
application.config file to no avail. Any help?

Signature

Brian R.

"Jeffrey Tan[MSFT]" - 07 Mar 2006 08:44 GMT
Hi Brian,

Thanks for your post!

No, although multiple versions of the CLR may exist on a given machine,
only one version may run in a particular process. So once the host chooses
which version to load, all managed code that runs in that process will use
that version of the CLR. For more information, please refer to the MSDN
article below:
"Microsoft .NET: Implement a Custom Common Language Runtime Host for Your
Managed App"
http://msdn.microsoft.com/msdnmag/issues/01/03/clr/

Regarding your issue, I think we can choose .Net2.0. Because .Net2.0 has
backward compatibility, .Net1.1 application should work well in .Net2.0
CLR. Please refer to the link below:
"Testing compatibility for Whidbey/Everett"
http://blogs.msdn.com/danielfe/archive/2003/12/03/51921.aspx

However, we still should take care of the breaking changes in .Net2.0:
"Breaking Changes in .NET Framework 2.0"
http://msdn.microsoft.com/netframework/programming/breakingchanges/default.a
spx

Hope this helps!

Best regards,
Jeffrey Tan
Microsoft Online Partner Support
Signature

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


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.