Running the Microsoft.DotNet.Analyzers.Compatibility, I found one occurence of API that is not supported on .NET Core.
In ComponentManagerBroker we call RuntimeEnvironment.GetRuntimeInterfaceAsObject. This method throws a PlatformNotSupportedException.
I wasn't actually capable of writing a repro. This code is hit only in the case where there is a "native component manager" . Since we're trying to retrieve a IMsoComponentManager, I'm guessing this is specific to hosting scenarios in Microsoft Office.
Running the Microsoft.DotNet.Analyzers.Compatibility, I found one occurence of API that is not supported on .NET Core.
In
ComponentManagerBrokerwe callRuntimeEnvironment.GetRuntimeInterfaceAsObject. This method throws a PlatformNotSupportedException.I wasn't actually capable of writing a repro. This code is hit only in the case where there is a "native component manager" . Since we're trying to retrieve a
IMsoComponentManager, I'm guessing this is specific to hosting scenarios in Microsoft Office.