Invoking function in project A from project B without references

338 Views Asked by At

I change my post because the last one was unclear. Is it possible to call function in project A from project B (in the same solution of course) without creating a reference?

I found this article: http://www.codeproject.com/Articles/13747/Dynamically-load-a-class-and-execute-a-method-in-N but I need to call function from project, not dll file.

Best regards

1

There are 1 best solutions below

0
On

When I've written WCF applications before, there's two approaches I've taken:

1) Recreate the types in the client project by linking to the same "source file" (useful for things like Silverlight clients). 2) Use a third project to host the shared types.