-1

When I right click on the service reference and choose 'Update Service Reference' I get an error: Error message The error seems so vague, I've tried reinstalling, modifying, ensuring all nugets match but no success.

This worked fine in vs 2015.

Vizel Leonid
  • 456
  • 7
  • 15
Walter Louw
  • 1
  • 1
  • 1
  • did you read this https://stackoverflow.com/questions/45007007/i-cant-add-reference-in-visual-studio-2017? – Ricardo Pontual May 20 '20 at 11:08
  • Yes I did, everything installed successfully but it made no difference, got the same error. – Walter Louw May 20 '20 at 11:37
  • Does this answer your question? [I can't add reference in Visual Studio 2017](https://stackoverflow.com/questions/45007007/i-cant-add-reference-in-visual-studio-2017) – C-Pound Guru May 20 '20 at 13:15

1 Answers1

0

If the service reference you originally added was working but only updated incorrectly, you can try to delete the original service reference and add it again, if that still doesn't work, you can try this solution:

  1. Open Developer Command Prompt for VS 2017 as an administrator
  2. Find the directory: D:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\Common7\IDE\PublicAssemblies
  3. Then inpute gacutil -i Microsoft.VisualStudio.Shell.Interop.11.0.dll

When the installation is complete, remember to restart Visual Studio.

Ning ke
  • 1
  • 1