Error while adding WCF Service Reference in .NET Core projects behind proxy

 

Hi All, 

I faced this issue while adding WCF Service Reference to my .NET Core application. Since our environment was behind proxy I had to do the following to solve it.




 

Step 1

-          Go to %AppData%\NuGet\NuGet.Config

-          Then add proxy details inside <configuration>

<config>
        <add key="http_proxy" value="http://192.168.21.110:8080" />
 </config>

 

      

 

Step 2 run the below command in command prompt

        dotnet tool install --global dotnet-svcutil
 
 
 

 

 

Comments