wcf icon indicating copy to clipboard operation
wcf copied to clipboard

dotnet-svcutil net.pipe://localhost/xxx not working

Open swuqi opened this issue 2 years ago • 2 comments

I have created a WCF service using named pipe connection. But when I tried to generate the reference.cs for its client app, it failed with the following error.

Error: The directory 'H:\Dev\DevProj\TestWcfCli\net.pipe:\localhost' could not be found. Verify that the directory exists and that you have the appropriate permissions to read it.

It seems treating the URI as a directory. If the utility does not work with named pipe end point, please change the error as so.

By the way, the test utility WCFTestClient.exe can find the WCF server and works properly.

swuqi avatar Oct 19 '22 15:10 swuqi

@swuqi .NET named pipe feature is not supported by WCF Core yet, which is something we are currently working on. Therefore, dotnet-svcutil does not support .NET named pipe either. We will keep you posted once the support is added to dotnet-svcutil.

HongGit avatar Dec 07 '22 04:12 HongGit

Core WCF 1.4.0-preview1 adds named pipe support, is named pipe support still planned for dotnet-svcutil when that goes final?

rcocks-hl avatar Aug 17 '23 11:08 rcocks-hl