Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Calling a .net 4.0 DLL from a .net 2.0 DLL?

$
0
0

Hi all;

We have a commercial library we provide that is written in .NET 3.5 (ie 2.0 runtime). It needs to be using the 2.0 runtime because we have many customers still on 2.0 - 3.5.

We have a driver that uses the OData library that first exists in .NET 4.0. We're presently using the source to it compiled using .NET 3.5 but we want to use the shipping version to get the latest bug fixes. So that means using .NET 4.0.

Is there a way our 2.0 library can call a separate 4.0 dll with the OData code - assuming that the application calling our main dll is also .net 4.0? In other words:

app(4.0).exe -> MainLibrary(2.0).dll -> ODataLibrary(4.0).dll

??? - thanks - dave


Who will win The Windward International Collegiate Programming Championships?


Viewing all articles
Browse latest Browse all 8156

Trending Articles