From 57875ec8ccecaaabf22712519e3cb4e273c7c14f Mon Sep 17 00:00:00 2001 From: Bill Long Date: Tue, 23 Aug 2022 14:34:56 -0500 Subject: [PATCH] Ensure System.Core is loaded for HashSet support --- PublicFolders/SourceSideValidations/SourceSideValidations.ps1 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PublicFolders/SourceSideValidations/SourceSideValidations.ps1 b/PublicFolders/SourceSideValidations/SourceSideValidations.ps1 index f70aeea0ab..24981ad3aa 100644 --- a/PublicFolders/SourceSideValidations/SourceSideValidations.ps1 +++ b/PublicFolders/SourceSideValidations/SourceSideValidations.ps1 @@ -45,6 +45,9 @@ param ( . $PSScriptRoot\..\..\Shared\ScriptUpdateFunctions\Test-ScriptVersion.ps1 . $PSScriptRoot\..\..\Shared\Out-Columns.ps1 +# For HashSet support +Add-Type -AssemblyName System.Core -ErrorAction Stop + try { if (-not $SkipVersionCheck) { if (Test-ScriptVersion -AutoUpdate) {