wcf icon indicating copy to clipboard operation
wcf copied to clipboard

can not consume service netcoreapp2.1

Open SurushS opened this issue 8 years ago • 3 comments

I'm pretty sure it has to be me but just to make sure. Does svcutil integration with Visual Studio have support for NetCore 2.1? If i start out by creating a console application and then selecting "Add Connected Service" followed by "Microsoft WCF Web Service Reference Provider" and consuming any wsdl, i get the following message. Im using the latest Visual Studio 2017 (15.7.3). I get this error when consuming. If i downgrade the framework to netcoreapp2.0, it works fine.

screen shot 2018-07-16 at 11 37 22

Anyone got tips on what i'm missing?

SurushS avatar Jul 16 '18 09:07 SurushS

could that be the SDK you're on that is not supported yet? it happened to me as well when I had 2.1.2 SDK v2.1.302, but according to https://github.com/dotnet/wcf/releases (as of today) it only supports up to 2.1.1. Therefore I installed 2.1.1 as well from here: https://github.com/dotnet/core/blob/master/release-notes/download-archives/2.1.1-download.md

bungceting avatar Jul 17 '18 07:07 bungceting

If i do dotnet --version in cli , i see 2.1.300 . unfortunately that can't be it either. unless Visual studio is using the wrong version.

SurushS avatar Jul 17 '18 07:07 SurushS

Hi @SurushS, thank you for reporting this issue. This is a dup of #2994.

mlacouture avatar Jul 17 '18 07:07 mlacouture