title: Error: Unable to generate deps.json, it may have been already generated. when adding a Service reference to Xamarin forms
body: <p>I have a Xamarin forms v3.1 project with the .NET standard approach.
  I tried to add a reference to a web service I have using
  &quot;add connected service&quot; and then from the pop up, I choose Microsoft web service reference provider.</p>
  <p>I add the web service link, Visual Studio (2017 v15.8) discovers its structure, and then when I click finish, it takes a while but then shows this error:</p>
  <blockquote>
  <p>Unable to generate deps.json, it may have been already generated.  <br>
  You can specify the &quot;-d&quot; option before the tool name for diagnostic <br>
  output  (for example, &quot;dotnet -d &quot;:  C:\Program <br>
  Files\dotnet\sdk\2.1.400\Sdks\Microsoft.NET.Sdk\targets\GenerateDeps\GenerateDeps.proj<br>
  Done.</p>
  </blockquote>
  <p>Any idea why this is happening and how to solve this issue?</p>