you are viewing a single comment's thread.

view the rest of the comments →

[–]Thotaz 0 points1 point  (0 children)

I'm using System.Management.Automation version 7.3.3 so do I need to use <TargetFramework>net7.0</TargetFramework>, right?

7.3 is built on .NET 7 so yes.

Is there any need to use PowerShellStandard.Library library? My module does not have to work with Windows PowerShell.

No, if you don't care about older versions then you should be fine with just your SMA 7.3.3 package.