[CI Failure] PowerShell script pack-cli-npm-package.ps1 fails with FileLoadException on System.Collections.Specialized (Linux)
- Dominant language
- C#
- Stars
- 6.3k
- Forks
- 991
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 196
Description
## Build Information
Build: https://github.com/microsoft/aspire/actions/runs/34279845105
Build error leg: Tests / No-package tests (regular, Infrastructure.Tests, ...) / Infrastructure (ubuntu-latest)
Pull request: #19990
## Error Message
```
Infrastructure.Tests.CommandException : Expected 0 exit code but got 134: pwsh ... eng/scripts/pack-cli-npm-package.ps1 ... Unhandled exception. System.IO.FileLoadException: The given assembly name was invalid. File name: 'System.Collections.Specialized, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3' at System.Reflection.AssemblyNameParser.Parse
```
## Description
PowerShell script pack-cli-npm-package.ps1 fails with FileLoadException on System.Collections.Specialized (Linux)
**Type**: infra-failure
## Occurrences
| Date | Build | Job | PR |
|------|-------|-----|----|
| 2026-09-08 | [34279845105](https://github.com/microsoft/aspire/actions/runs/34279845105) | Tests / No-package tests (regular, Infrastructure.Tests, ...) / Infrastructure (ubuntu-latest) | #19990 |
Contributor guide
Research direction
Start with eng/scripts/pack-cli-npm-package.ps1 and reproduce the failing command from the Infrastructure no-package tests on ubuntu-latest. Trace the System.Collections.Specialized assembly-load failure and verify that the script exits successfully with code 0 in the affected CI leg.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- linux, powershell
- Domain
- ci-cd, devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100