Calling .NET 3.5 DLL from .NET 2.0 DLL?

C

Christopher

Hello, I have a shipped version of a DLL built on .NET 2.0 for ASP.NET.
Customers have programmed against it on .NET 2.0. I'm upgrading this DLL to
..NET 3.5. I don't want to make customers recompile against my new DLL and my
new DLL contains new namespaces and only new classes.

I'm wanting to redirect the implementations only of the methods within the
2.0-based DLL so that they call into the .NET 3.5 DLL instead.

Is calling into a .NET 3.5 DLL from a .NET 2.0 DLL alright in general? Has
anyone seen any performance, compilation, or other quickiness issues with
doing this? Thanks!
 
J

Jon Skeet [C# MVP]

Christopher said:
Hello, I have a shipped version of a DLL built on .NET 2.0 for ASP.NET.
Customers have programmed against it on .NET 2.0. I'm upgrading this DLL to
.NET 3.5. I don't want to make customers recompile against my new DLL and my
new DLL contains new namespaces and only new classes.

I'm wanting to redirect the implementations only of the methods within the
2.0-based DLL so that they call into the .NET 3.5 DLL instead.

Is calling into a .NET 3.5 DLL from a .NET 2.0 DLL alright in general? Has
anyone seen any performance, compilation, or other quickiness issues with
doing this? Thanks!

Assuming they have .NET 3.5 installed, it should be fine. There's
really no such thing as a ".NET 3.5 DLL" - there's just a DLL which
refers to types or assemblies which are part of .NET 3.5.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top