diff --git a/build.psm1 b/build.psm1 index 601e8b3e7..d7a7347f3 100644 --- a/build.psm1 +++ b/build.psm1 @@ -766,6 +766,7 @@ function Copy-CrossCompatibilityModule # creates the nuget package which can be used for publishing to the gallery function Start-CreatePackage { + [System.Diagnostics.CodeAnalysis.SuppressMessageAttribute('PSUseCompatibleCommands', '')] param ( [switch]$signed ) try { if ( $signed ) {