I have made a new project in 2018.1. I have set the scripting runtime version to Stable (.Net 4.x) , API compatibility version to .Net4.x. Then copied in files from the NuGet folder Packages in the project folder (after “installing” in VS).
Google.Api.commonProtos
Google.Protobuf
Grpc.Core
System.Interactive.Async.
These are from the net45 folders.
&
grpc_sharp_ext.x64
grpc_sharp_ext.x86
The project compiles fine, but it spits out an error after it reaches the line
Grpc.Core.Server server = new Grpc.Core.Server
The error:
DllNotFoundException: grpc_csharp_ext
Grpc.Core.Internal.NativeLogRedirector.Redirect (Grpc.Core.Internal.NativeMethods native) (at <127fb2d47835427a92e55d63fc6b9975>:0)
Grpc.Core.Internal.NativeExtension…ctor () (at <127fb2d47835427a92e55d63fc6b9975>:0)
…
Grpc.Core.Server…ctor () (at <127fb2d47835427a92e55d63fc6b9975>:0)
Now this seems like this means I have configured something incorrectly.Is there any obvious setup step I am missing?
Has anyone got a working grpc project from NuGet?