Merge pull request #5087 from chrisdunelm/coreclr_DefaultSslRootsOverride2

Coreclr compatible DefaultSslRootsOverride.cs
pull/5405/head
Jan Tattermusch 9 years ago
commit b0ec2baa15
  1. 2
      src/csharp/Grpc.Core/Internal/DefaultSslRootsOverride.cs

@ -56,7 +56,7 @@ namespace Grpc.Core.Internal
{
lock (staticLock)
{
var stream = Assembly.GetExecutingAssembly().GetManifestResourceStream(RootsPemResourceName);
var stream = typeof(DefaultSslRootsOverride).GetTypeInfo().Assembly.GetManifestResourceStream(RootsPemResourceName);
if (stream == null)
{
throw new IOException(string.Format("Error loading the embedded resource \"{0}\"", RootsPemResourceName));

Loading…
Cancel
Save