Don't send a path to the ALC

This commit is contained in:
Andrew Schwartzmeyer 2016-03-29 13:18:35 -07:00
parent d929d8f749
commit 37d825c741

View file

@ -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;