المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Communication between .NET 2 Assemblies and .NET 3.5 Assemblies



C# Programming
12-09-2009, 12:30 PM
Hello,

i have a .NET 2 Application (Class Library) and want to interact with a .NET 3 Application (WPF), how is this possible?
Of course i could reference from the WPF-App to the Class-Library (thats the normal way) but i'm must be able to initiate the .NET 3 App from the .NET 2 Application.

And of course they need to be able to communicate with each other... how can i do that?

Why do i want to do that? Because i want to let my logic in the .NET 2 App and create a GUI-Layer in .NET 3.5 and one in .NET 2 (if the user doesn't have 3.5 or doesn't want it or want to use mono)