diff --git a/test/powershell/Modules/Microsoft.PowerShell.Utility/Add-Type.Tests.ps1 b/test/powershell/Modules/Microsoft.PowerShell.Utility/Add-Type.Tests.ps1 index f6f8d5f3b6..f59fa51108 100644 --- a/test/powershell/Modules/Microsoft.PowerShell.Utility/Add-Type.Tests.ps1 +++ b/test/powershell/Modules/Microsoft.PowerShell.Utility/Add-Type.Tests.ps1 @@ -12,4 +12,8 @@ public class AttributeTest$guid {} "@ Add-Type -TypeDefinition $code -PassThru | Should Not Be $null } + + It "Can load TPA assembly System.Runtime.Serialization.Primitives.dll" { + Add-Type -AssemblyName 'System.Runtime.Serialization.Primitives' -PassThru | Should Not Be $null + } }