How To Use a .NET 4 Based DLL From .NET 2 Based Application?

Monday, May 30, 2011

Introduction The official answer is you can’t. Even with the In-Process Side by Side execution (SxS) feature, introduced in .NET 4. The SxS feature was intended to be used when COM is involved. For example, if you got an application that loads plugins, like outlook, and it loads 2 COM plugins, one is using .NET 4 and the other is using .NET 2.0 then it will load two versions of the CLR into the process using the new SxS feature. What if I simply have a .NET 2 application or DLL that needs to access a...

Windows Ribbon for WinForms, Part 15 – Use Ribbon as External DLL

Wednesday, November 18, 2009

Using Windows Ribbon for WinForms just got a lot easier. Warning: Boring post. Talks about changes in the ribbon library and their reasons. But first, let me start by asking for your forgiveness. I’m trying to create a library which will be easy to use and so the last change to the library wasn’t backward compatible. Namely, classes names and interfaces have changed. Rest assured that every single change I made is making the library a little more easier to use. However, for all those who have started using the...