getsentry/sentry-powershell

Assembly conflicts

vaind opened this issue · 0 comments

vaind commented

Loading multiple PowerShell modules that have dependency conflicts is a problem.

We may be able work around this for .net6+ (PowerShell 7.2+) by implementing AssemblyLoadContext.

.NET loads assemblies as needed so when a conflict arises, it may fail to load, throwing an exception.

related to: #12