Is there a way to call powershell runspace on .net7 NativeAOT? #17025
kasini3000
started this conversation in
General
Replies: 1 comment 4 replies
-
PowerShell is pretty heavily reflection dependent. I'm unsure how one could get PowerShell to work in a meaningful way inside of a trimmed application, especially one AOT compiled. |
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
-
I want to use powershell to develop commercial software, using runspace and NativeAOT technology,
can I achieve cross-platform green software? Just like the golang command line program.
Assuming the name of the software is [foo],
I hope that it can run without the linux version of powershell,
can also be called by .so library in linux version of powershell.
Today, we are glad to release .NET 7 Preview 2. progress moving NativeAOT from experimental status into the runtime,
https://devblogs.microsoft.com/dotnet/announcing-dotnet-7-preview-2/
Beta Was this translation helpful? Give feedback.
All reactions