Don't send a path to the ALC
This commit is contained in:
parent
d929d8f749
commit
37d825c741
|
@ -22,7 +22,7 @@ namespace Microsoft.PowerShell.Linux.Host
|
|||
// analyze the libraries for types, functions, cmdlets, etc. and
|
||||
// provide the ability to load assemblies by file path. Doing this
|
||||
// here eliminates the need for a custom native host.
|
||||
PowerShellAssemblyLoadContextInitializer.SetPowerShellAssemblyLoadContext(AppContext.BaseDirectory);
|
||||
PowerShellAssemblyLoadContextInitializer.SetPowerShellAssemblyLoadContext(string.Empty);
|
||||
|
||||
// Argument parsing
|
||||
string initialScript = null;
|
||||
|
|
Loading…
Reference in a new issue