diff options
author | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-02-04 21:52:34 -0800 |
---|---|---|
committer | Jan Tattermusch <jtattermusch@users.noreply.github.com> | 2016-02-04 21:52:34 -0800 |
commit | f6c7951e448745c61302216eb78147bdcd399488 (patch) | |
tree | 697bd018c4b10e37b08588ac3ea2fc1b01e9b413 /src/csharp | |
parent | 29cc1e46eba483f699ba92c68294930cb319457b (diff) | |
parent | b767d09c315044885f68a65eed9131c02299dc16 (diff) |
Merge pull request #5063 from chrisdunelm/dnx_NativeExtensions
Fix NativeExtensions for coreclr
Diffstat (limited to 'src/csharp')
-rw-r--r-- | src/csharp/Grpc.Core/Internal/NativeExtension.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/csharp/Grpc.Core/Internal/NativeExtension.cs b/src/csharp/Grpc.Core/Internal/NativeExtension.cs index e14d33ea50..4c742ab6c3 100644 --- a/src/csharp/Grpc.Core/Internal/NativeExtension.cs +++ b/src/csharp/Grpc.Core/Internal/NativeExtension.cs @@ -106,7 +106,7 @@ namespace Grpc.Core.Internal private static string GetExecutingAssemblyDirectory() { - return Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location); + return Path.GetDirectoryName(typeof(NativeExtension).GetTypeInfo().Assembly.Location); } private static string GetPlatformString() |