diff --git a/src/WinRT.Runtime/ActivationFactory.cs b/src/WinRT.Runtime/ActivationFactory.cs index 1c3132095..fb198738b 100644 --- a/src/WinRT.Runtime/ActivationFactory.cs +++ b/src/WinRT.Runtime/ActivationFactory.cs @@ -47,7 +47,7 @@ private static bool TryCreate(string fileName, out DllModule module) #if NET if (moduleHandle == IntPtr.Zero) { - NativeLibrary.TryLoad(fileName, Assembly.GetExecutingAssembly(), null, out moduleHandle); + NativeLibrary.TryLoad(fileName, typeof(DllModule).Assembly, null, out moduleHandle); } #endif if (moduleHandle == IntPtr.Zero)