C#C
C#3y ago
Decabytes

❔ Trouble Creating PowerShell Commandlet

I'm using visual studio 2022, dotnet 6.0. I installed the automation package using
NuGet\Install-Package Microsoft.PowerShell.SDK -Version 7.2.9

But when I try to import the module after building the package I get the error in the screenshot. Does anyone have any ideas?
dotnet_error.PNG
Was this page helpful?