Fix reference assembly generation logic for Microsoft.PowerShell.Commands.Utility (#18818)

This commit is contained in:
Aditya Patwardhan authored and GitHub committed 2022-12-19 15:02:13 -08:00
1 parent b11554121e
commit bbb03f350b
2 files changed
+10 -1

No files matched your search

@@ -71,6 +71,14 @@ jobs:
displayName: SBOM
sourceScanPath: '$(repoPath)\tools'
# This is needed as SBOM task removed the installed .NET and installs .NET 3.1
- pwsh: |
Import-Module .\tools\ci.psm1
Invoke-CIInstall -SkipUser
displayName: Bootstrap
condition: succeeded()
workingDirectory: $(repoPath)
- pwsh: |
Import-Module .\tools\ci.psm1
New-CodeCoverageAndTestPackage
+2 -1
View File
@@ -2574,7 +2574,8 @@ function CleanupGeneratedSourceCode
'[Microsoft.PowerShell.Commands.HttpVersionCompletionsAttribute]'
'[System.Management.Automation.ArgumentToVersionTransformationAttribute]'
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ArgumentToPSVersionTransformationAttribute]'
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ValidateVersionAttribute]'
'[Microsoft.PowerShell.Commands.InvokeCommandCommand.ValidateVersionAttribute]',
'[System.Management.Automation.OutputTypeAttribute(new System.Type[]{ typeof(Microsoft.PowerShell.Commands.Internal.Format.FormatStartData), typeof(Microsoft.PowerShell.Commands.Internal.Format.FormatEntryData), typeof(Microsoft.PowerShell.Commands.Internal.Format.FormatEndData), typeof(Microsoft.PowerShell.Commands.Internal.Format.GroupStartData), typeof(Microsoft.PowerShell.Commands.Internal.Format.GroupEndData)})]'
)
$patternsToReplace = @(