diff --git a/tools/packaging/packaging.psm1 b/tools/packaging/packaging.psm1 index 5d24276308..89ec69d4b5 100644 --- a/tools/packaging/packaging.psm1 +++ b/tools/packaging/packaging.psm1 @@ -2291,6 +2291,7 @@ function CleanupGeneratedSourceCode '[System.Runtime.CompilerServices.NullableAttribute((byte)0)]' '[System.Runtime.CompilerServices.NullableAttribute(new byte[]{ (byte)2, (byte)1, (byte)1})]' '[System.Runtime.CompilerServices.AsyncStateMachineAttribute' + '[Microsoft.PowerShell.Commands.SetStrictModeCommand.ArgumentToPSVersionTransformationAttribute]' ) $patternsToReplace = @(