Closed jborean93 closed 11 months ago
Attention: 19 lines
in your changes are missing coverage. Please review.
Comparison is base (
773a026
) 95.86% compared to head (e7e1131
) 89.15%.
Files | Patch % | Lines |
---|---|---|
src/PSToml.Shared/LoadContext.cs | 74.35% | 6 Missing and 4 partials :warning: |
src/PSToml/ConvertToToml.cs | 90.62% | 5 Missing and 4 partials :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
Migrates to a new Assembly Load Context structure which ensures the dependencies used are the ones shipped with the module. It also ensures that no dependency might accidentially escape the ALC by loading it explicitly inside the ALC.
This also adds limited support for Windows PowerShell 5.1. While WinPS does not support ALCs it can load assemblies side by side removing some of the need for an ALC. There are no guarantees that this will always load our version only that dotnet can load an assembly that matches our required name if present.