Aaron Robinson

Results 104 comments of Aaron Robinson

Are we sure the above APIs will actually help in a full featured WinForms way? What about the entire automation stack that is present in a Drag-n-Drop scenario? @kant2002 I'm...

> @kant2002 I wasn't aware you could cast `_ComObject` that way, but it makes sense when I think about it. Yes. A cast on an `_ComObject` is really a `QueryInterface`...

> Talking with @agocke the presumption is that you will never see `_ComObject` when trimming is enabled as COM interop is disabled. @AaronRobinsonMSFT is that a correct assumption? Yes. The...

>is there an easy way to put the assembly (and their dependencies & runtime config) into a separate subfolder, when calling it from the native binary library? Not really at...

@DerekSMorin This is likely related to confusion with [`AssemblyLoadContext`](https://docs.microsoft.com/dotnet/core/dependency-loading/understanding-assemblyloadcontext)s in the process. The problem is that there is a type `A` that is loaded in two different `AssemblyLoadContext` instances and...

> In the DNNE scenario, the handleContext was: > > {"IsolatedComponentLoadContext(C:\Development\Source\Bentley.Reliability\ReliabilityUpdateService\src\Bentley.OQ.APMUpdateService\bin\x64\Debug\net6.0\Infrastructure.dll)" Internal.Runtime.InteropServices.IsolatedComponentLoadContext #1} Right, this is the issue. There are likely two `ILogger` types available in your application and the...

> Is it possible that this would be resolved in .NET 7? No at this point. The isolation of components actually makes things far less complicated for many scenarios. Since...

@DaZombieKiller Thanks for starting this conversation. > We would need to know the signatures of all of these exports in order to produce a proxy library with the above technique....

> Maybe an additional feature to support .asm files could work? I'm not sure that is the best way. The issue here is now DNNE would need to trigger an...

> would we be able to develop a hook library for the kea dhcp server for linux? @johnwc Yes! That is an example of where DNNE could be a good...