top | item 41514461 (no title) sp1rit | 1 year ago > since it's .NET you can embed the runtime in any .NET applicationnot actually "embedded", more like a bit of shim code that extracts the runtime into some temporary directory that then runs the actual code. discuss order hn newest psd1|1 year ago Not sure what you mean? I've hosted powershell in C# code by referencing Microsoft.Powershell.Sdk - it pulls in the dll at compile time and runs on whatever .Net runtime that is installed and matches the project target.
psd1|1 year ago Not sure what you mean? I've hosted powershell in C# code by referencing Microsoft.Powershell.Sdk - it pulls in the dll at compile time and runs on whatever .Net runtime that is installed and matches the project target.
psd1|1 year ago