问题
As far as I know, in Windows I was able to add a service reference in a .NET Core project in Visual Studio 2017 by installing the Visual Studio WCF Connected Service, but I wasn't able to find that same extension in Visual Studio for Mac.
Is there any other way of adding a service reference in Mac?
回答1:
In Visual Studio for Mac "Community" 7.8.3 (build 2), right-click on the project name in the Solution Explorer. Then select Add -> Add Web Reference.
I had the choice between WFC and .NET 2.0 Web Services
I'm using .NET, so I can't verify WFC is functional, but it appears to be there
来源:https://stackoverflow.com/questions/47460862/add-service-reference-in-net-core-in-visual-studio-for-mac