getsentry / sentry-powershell

Sentry for PowerShell
MIT License
4 stars 0 forks source link

Assembly conflicts #13

Open vaind opened 5 months ago

vaind commented 5 months ago

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: https://github.com/getsentry/sentry-powershell/pull/12