COM Object Access and dynamic in .NET Core 2.x

added by DotNetKicks
1/23/2019 1:01:49 PM

1 Kicks, 430 Views

I was surprised to find out that COM Interop works in .NET Core when running on Windows. It's possible to access COM components via Reflection easily enough in .NET Core 2.x. Unfortunately use of the `dynamic` keyword does not work in .NET Core 2.x so for the moment COM interop is limited to using Reflection.