You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When referencing the PowerShell SDK nuget package and trying to use the type Microsoft.PowerShell.Commands.ResolvePathCommand, the assembly is not found.
The ref directory is missing Microsoft.PowerShell.Commands.Management.dll, where the type is implemented.
Prerequisites
Steps to reproduce
When referencing the PowerShell SDK nuget package and trying to use the type Microsoft.PowerShell.Commands.ResolvePathCommand, the assembly is not found.
The ref directory is missing Microsoft.PowerShell.Commands.Management.dll, where the type is implemented.
The same is true for the ref folder of the Microsoft.PowerShell.Commands.Management nuget package.
Expected behavior
Should be able to reference the SDK and use types from Microsoft.PowerShell.Commands.Management.Actual behavior
Build error.Error details
error CS0246: The type or namespace name 'ResolvePathCommand' could not be found (are you missing a using directive or an assembly reference?)Visuals
No response