✅ Microsoft.PowerShell.SDK missing reference
I don't know what to do, I installed this package from nuget but I can't add it to my proyect
any ideas on how to solve this?

10 Replies


im using .net 8 lts
System.Management.Automation 7.5.4
Runtime for hosting PowerShell
Seems you want this one
@Angius SDK refs that.
@gosip try $vsdrunk maybe?
* close VS
* remove the hidden folder
.vs
* remove all bin and obj folder next to each csproj (DO NOT TOUCH THE .git FOLDER OR WHAT'S INSIDE)
* restart vsalso, share your csproj

this version only supports .NET 9
the last version which uses .NET 8 is 7.4.13
so, either change your projectto .NET 9, or downgrade the package to 7.4.13
i see
thank you i'll just call the scripts then