Microsoft.PowerShell.SDK incompatible with .NET Core since 7.1? #17846
DmitryMashkov-DM
started this conversation in
General
Replies: 1 comment 4 replies
-
|
@DmitryMashkov-DM pwsh.exe is produced with the PowerShell.SDK :) Please post a repository where I can see your project (minimal if possible). Because I think you miss something. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Prerequisites
Steps to reproduce
Microsoft.PowerShell.SDK 7.0.11:
Dependencies:
.NETCoreApp,Version=3.1
Microsoft.PowerShell.SDK 7.1.0+:
Dependencies:
net5.0
When building an app targeting .NET Core, PowerShell namespaces like System.Management.Automation are not available. Is it really impossible to use recent versions of SDK for .NET Core?
Expected behavior
Latest SDKs should target .NET CoreActual behavior
.NET Core is not listed.Error details
No response
Environment data
Visuals
No response
Beta Was this translation helpful? Give feedback.
All reactions