WCF DataContract in another dll

  • Thread starter Thread starter Allan Bredahl
  • Start date Start date
A

Allan Bredahl

Hi all

I'm building a WCF service that communicates using my own custom objects.

These classes are constructed with a DataContract, and are placed in a
seperate dll that is referenced by the service.


I can build the service, but when trying to generate metadata from the
service dll to build a client I get an error saying that the dll containing
the DataContracts can not be found.

Is it not possible to place your DataConracts in a seperate dll, and if they
are placed in the service how does the client know of these classes ?


THnaks in advance

Allan Bredahl
 
Back
Top