*** Please fill in the fields below. If you leave fields empty or specify 'latest' rather than the actual version your answer will be delayed as we will be forced to ask you for this information. ***
Product, version and build:
version of product: PowerShell Studio 5.7.177
Operating system:
64 bit OS:Microsoft Windows 10.0.19555
*** Please add details and screenshots as needed below. ***
- create empty Forms project, set Deploy>Build as PowerShell 7/Net Core 3.1
- compile to exe, bin output:
Code: Select all
Microsoft.ApplicationInsights.dll
Microsoft.PowerShell.CoreCLR.Eventing.dll
Newtonsoft.Json.dll
powershell.config.json
PowerShell.Core.Instrumentation.dll
PS7Net3.exe
pwrshplugin.dll
SAPIEN.PoshCoreHostWin.deps.json
SAPIEN.PoshCoreHostWin.dll
SAPIEN.PoshCoreHostWin.runtimeconfig.json
System.Management.Automation.dll
System.Management.dll
Code: Select all
---------------------------
PowerShell cannot be instantiated
---------------------------
Could not load file or assembly 'System.Management.Automation, Version=7.0.1.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Could not find or load a specific file. (0x80131621)
---------------------------
OK
---------------------------