Add Service Reference in .NET Core in Visual Studi

2019-07-28 15:40发布

问题:

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