cyanfish / grpc-dotnet-namedpipes

Named pipe transport for gRPC in C#/.NET
Apache License 2.0
183 stars 47 forks source link

Unable to access PipeSecurity on .NET 5.0 #27

Closed pockets3407 closed 2 years ago

pockets3407 commented 2 years ago

I see that NamedPipeServerOptions has an option to use the PipeSecurity with .NET 5. I am unable to access the field in .NET 5. I am not sure if this nuget is supposed to target .NET 5 or net5-windows7.0. ~I think the issue may be that the project is targeting the wrong .NET 5.~ When downloading the nuget to a project using .NET 5, the nuget targets .NET Core 2.1.

image

pockets3407 commented 2 years ago

Ok I figured it out, I need to have my project target .net5-windows 🙃