0

H

As you can see that from the above screenshot, VS 2010 "Add service reference" adds the standard library class as well. I tried using svcutil and we dont want to use svcutil for a while. Any solution for this ?

For your information : I have used "reuse referenced libraries" and selected only the our own data contract library dll which is shared between wcf and client

Note: In the above GQDPService is the namespace for the service.

amaz
  • 445
  • 1
  • 5
  • 14

1 Answers1

1

If you want to use this service reference, then I think you'll need to prefix all references to System.Text.StringBuilder with global:: in your project.

global::StringBuilder

Leave GQDPService.StringBuilder as they are.

BG100
  • 4,481
  • 2
  • 37
  • 64