Conversation
|
(also, this attempts to fix the nugets generated by "dotnet pack" - which is not yet the official way of generating nugets for gRPC. Analogous steps are needed to fix the old .nuspec based nugets). |
|
Pushed 2 more commits with a fix for the mono 32bit vs 64bit version problem described above. |
|
Not quite sure how this PR relates to my one at #7282. That has a significant set of changes for getting it working on Windows which I don't believe are in this PR. I don't think I suspect your issue running on OSX between 32-bit and 64-bit is related to the one I've been encountering trying to run the 32-bit CLR on Windows; I believe the tooling for |
|
Retiring this PR in favor of #7282. |
|
On Fri, Jul 8, 2016 at 11:43 PM, Jon Skeet [email protected] wrote:
yes, windows tests are actually broken in my PR. Your fix seems reasonable.
|
Mmm.
Yes, that would be simple. I'll do that across the board for the moment. |
Some experiments toward making Grpc.Core nuget work with dotnet cli project targeting net45.
-- I don't like adding Microsoft.NETCore.Platforms dependency, but it doesn't work without it.
-- we can get rid of duplicate of native grpc_csharp_ext library by changing more of NativeExtension.cs code.
One problem is that on macOS X, it seems that the /runtimes nuget functionality doesn't work very well because:
On my machine, despite having a 32-bit version of mono, dotnet build copies a 64bit version of libgrpc_csharp_ext.dylib to the output directory and then mono is used to run it - which results in error loading the native library (can't load 64bit library into 32bit process).