mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
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:
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)
|
||||
|
||||
Reference in new issue
Block a user