Skip to content

Commit b7d2f1b

Browse files
Add System.Runtime to loaded DLLs list
Included 'System.Runtime' in the array of DLLs loaded for non-Core PowerShell editions to ensure required dependencies are available.
1 parent 27d3628 commit b7d2f1b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dbatools.library.psm1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ if ($PSVersionTable.PSEdition -ne "Core") {
3434
{
3535
string[] dlls = {
3636
"System.Memory",
37+
"System.Runtime",
3738
"System.Management.Automation",
3839
"System.Runtime.CompilerServices.Unsafe",
3940
"Microsoft.Bcl.AsyncInterfaces",

0 commit comments

Comments
 (0)