Brought back PowerShell's AssemblyLoadContext

Removes dependency on Microsoft.Extensions.Platform.Abstractions.

Makes use of native executable from `dotnet-cli` impossible; must use
`powershell` from monad-native.
This commit is contained in:
Andrew Schwartzmeyer committed 2015-12-08 14:30:24 -08:00
1 parent 96896b5942
commit 6fbb220df3
7 files changed
+16 -31

No files matched your search

@@ -18,13 +18,6 @@ namespace Microsoft.PowerShell.Linux.Host
/// </summary>
public static void Main(string[] args)
{
// create the typecatalog so they can find assemblies for a given type.
TypeCatalog.GenerateTypeCatalog();
if (System.Management.Automation.ClrHost.TypeCatalog == null)
{
Console.WriteLine("TypeCatalog generation failed!");
}
// Custom argument parsing
string initialScript = null;
if (args.Length > 0)