I am using svcutil to get wcf service into my project.
But i get error while trying to initialize the soapClient:
ServiceSoapClient client = new ServiceSoapClient();
Here is the error:
Configuration files are not supported
I use this command to get it to my project:
svcutil myUrl.asmx /out:name.cs/config:name.config
I copied all the generated config content into my web.config file.
But without success.
For .net core i had to use
dotnet svcutiland NOT justsvcutil.In cmd I use:
dotnet svcutil myUrl.admxFor making it sync(as default it rendered as async) use:
dotnet svcutil myUrl.admx --syncNow. You can wrap the rendered reference.cv with your namespace if you want.