Issue Summary
The API AppDomain.GetAssemblies is brought back in .NET Core 2.0 which returns the loaded assemblies from the default loader. Therefore it's possible now for powershell to just depend on the default CoreCLR loader without having our own assembly load context getting in the picture. This would greatly simplify the scenario of hosting powershell in applications.
CoreFX Fixes needed
Tasks
Issue Summary
The API
AppDomain.GetAssembliesis brought back in .NET Core 2.0 which returns the loaded assemblies from the default loader. Therefore it's possible now for powershell to just depend on the default CoreCLR loader without having our own assembly load context getting in the picture. This would greatly simplify the scenario of hosting powershell in applications.CoreFX Fixes needed
AssemblyLoadContext.GetLoadContextcrashes when pass in a dynamic assembly. [Verified Fixed]AppDomain.GetAssembliesdoesn't return dynamic assemblies that are emitted on the fly. [Verified Fixed]v1.11.0VSCode C# extension has been publicly releasedTasks
Microsoft.PowerShell.CoreCLR.AssemblyExtensions.LoadFrom(string assemblyPath)once thePackageManagementmodule is migrated to .NET Core 2.0. Tracked by Remove Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll from PowerShell core #4149via Move to latest .NET Core and enableRan into a regression in the latest .NET Core, so moved back to 2.0.0-preview1 via Move PowerShell back to .NET Core 2.0.0-preview1-002106-00 #4026)-SkipCertificateCheckon OSX #3887Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dllcompletely. Tracked by Remove Microsoft.PowerShell.CoreCLR.AssemblyLoadContext.dll from PowerShell core #4149