Context
PR #45 initially targeted .NET 10.0\ and \System.Management.Automation 7.6.1\ as part of the Sodium hardening effort. However, these upgrades were reverted to .NET 8.0\ and \7.4.7\ due to compatibility issues with the native interop layer during the DllImport → LibraryImport source-generator migration.
Request
Upgrade the PSModule.Sodium project to leverage the latest stable versions:
- .NET 10.0 (latest LTS)
- System.Management.Automation 7.6.1 (latest stable)
These are now mature and should support LibraryImport source generators without the issues encountered in PR #45.
Technical Context
The previous attempt (PR #45, commit 9326f7c) revealed compatibility concerns with:
- LibraryImport attribute and source-generator marshalling interoperability
- Native DLL loading paths under .NET 10.0
- Buffer marshalling and safety guarantees in the newer runtime
Acceptance Criteria
Related
Context
PR #45 initially targeted .NET 10.0\ and \System.Management.Automation 7.6.1\ as part of the Sodium hardening effort. However, these upgrades were reverted to .NET 8.0\ and \7.4.7\ due to compatibility issues with the native interop layer during the DllImport → LibraryImport source-generator migration.
Request
Upgrade the PSModule.Sodium project to leverage the latest stable versions:
These are now mature and should support LibraryImport source generators without the issues encountered in PR #45.
Technical Context
The previous attempt (PR #45, commit 9326f7c) revealed compatibility concerns with:
Acceptance Criteria
Related