Skip to content

PowerShell SDK NuGet packages only have the 'System.Management.Automation.dll' as the reference assembly #8121

@daxian-dbw

Description

@daxian-dbw

PowerShell SDK NuGet packages only have the 'System.Management.Automation.dll' as the reference assembly. This make it impossible to access any types from other powershell built-in assemblies like the utility.dll, management.dll and etc.

In my use case, I need Microsoft.PowerShell.Commands.JsonObject to convert JSON to Hashtable in my application. But the type cannot be found because there is no such a reference assembly in the PowerShell SDK NuGet packages.

For example, both "microsoft.powershell.sdk 6.1.0" and "microsoft.powershell.commands.utility 6.1.0" have "System.Management.Automation.dll" only as the reference assembly.

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions