79535290

Date: 2025-03-26 02:49:45
Score: 0.5
Natty:
Report link

Make sure your client project references the assembly that contains your JournalTransactionRequestInfo class (and any other shared contracts). This ensures the client get the class you want to reuse.

You can also try adding a service reference using VS by following these steps :

  1. In your client project, right-click on the project and choose Add Service Reference.

  2. Enter the service URL and click Go.

  3. Before clicking OK, click the Advanced… button.

  4. In the Advanced Settings dialog, locate the Reuse types in referenced assemblies option.

  5. Ensure that your shared contract assembly is referenced by the client and that it appears in the list of assemblies to reuse types from. Check the box to reuse types found in these assemblies.

Reasons:
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Jiayao