Answer the question
In order to leave comments, you need to log in
How to connect dll to client (net Remouting)?
I'm trying to write by example , i.e. repeat exactly. When creating a client, a problem arises that it does not see TestObject, if you add a reference to TestObject.dll, then when debugging, an error occurs "Cannot load file or assembly 'TestObject' or one of their dependent components. The specified file cannot be found." If you add a file to the project, then the result of the execution will not be the same as in the example, namely, it will return client.exe, although it should return server.exe. How to connect it then?
Answer the question
In order to leave comments, you need to log in
It's hard to say what's wrong.
But first of all, you need to refer not to the DLL, but to the project itself, since they are within the same solution.
In general, .NET Remoting is an outdated technology, no one uses it now.
Either Web API 2 or, in very specific cases, WCF.
And, yes, after fixing the links, it’s worth doing a rebuild solution, it often helps to get rid of some vizhla glitches)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question