2

I found a way to copy a DLL reference from one project to another using VS Power Tools. Apparently it can't copy service references. Is there a way to do this manually?

The problem is that we cannot access the service right now. So we have to build the code without being able to add the service reference conventionally.

RAFJR
  • 362
  • 1
  • 7
  • 22
  • Think you have to add this via Refernces -> Add references – Michał Turczyn Jul 04 '17 at 05:21
  • That's right, the problem is that we cannot access the service right now. So we have to build the code without being able to add the service reference conventionally. Please also note that Reference is different from Service Reference. – RAFJR Jul 04 '17 at 05:27
  • 2
    Take a look into the .csproj file with a text editor and search for the name of the service. Copy this xml node into your other project file and also copy the mentioned files by using the file explorer. Than it should work. – Oliver Jul 04 '17 at 06:25
  • I'm trying to avoid that but looks it seems to be the only way. Thanks. – RAFJR Jul 04 '17 at 06:45
  • 1
    Did it work when you copied manually? – Carlos487 Sep 06 '17 at 20:52
  • I ended up looking for the old wsdl file to make this work. copying it manually would be my last resort. – RAFJR Sep 07 '17 at 03:39
  • 1
    Your question was answered on this page [https://stackoverflow.com/questions/8742334/is-it-possible-to-copy-paste-references-from-one-project-to-another-in-visual](https://stackoverflow.com/questions/8742334/is-it-possible-to-copy-paste-references-from-one-project-to-another-in-visual) – E_A Jan 27 '23 at 07:09

0 Answers0